-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
31 lines (24 loc) · 1017 Bytes
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Merge smttask/tests/test_typing::test_pure_functions and with scityping/tests/test_purefunction
-> Should test specifying the type: PureFunction[[Any], int]
smttask_ml/tests/test_serialization to scityping/tests/test_scipy
In base.py: Remove the imports `from .functions import …`
- Logically functions.py comes after base.py
Because of this, these imports are inside functions instead of at the top of the module
- Option: move `serialize_function` and `deserialize_function` to utils.py
TEST the functionality with autogenerated Data container:
- Direct subclass from Serializable:
- [ ] BaseModel
- [ ] dataclass
- [ ] plain
- Subclass a Serializable with existing Data:
- [ ] BaseModel
- [ ] dataclass
- [ ] plain
- Subclass a Serializable with autogenerated Data:
- [ ] BaseModel
- [ ] dataclass
- [ ] plain
Create a CompressedBytes type, so that
- [ ] numpy.Array
- [ ] xarray.DataArray
just need to specify how to convert their data to and from bytes, and how to get a summary.