Unify all config parameter types
- Classes instead of functions for the `IntParam`, `StrParam`, etc.
- Strong signature for the `ConfigParam` type
- `filter` was renamed to `apply`, because that's closer to its functionality
- `is_valid` was renamed to `validate` to match `apply`
- Both `apply` and `validate` callables can now be set for all params
- `DeviceParam` was moved over to where the other config param types are defined
- Already deprecated config parameters were removed
- Add a few more tests
正在显示
请
注册
或者
登录
后发表评论