Published May 14, 2023
| Version v0.3.5
Software
Open
ASEM000/PyTreeClass: v0.3.5
Description
What's Changed
- Annotated callbacks by @ASEM000 in https://github.com/ASEM000/PyTreeClass/pull/62
move callbacks inside
typing.Annotatedfor motivation and background check the corresponding PR
before
Class A(TreeClass):
a:int = field(callbacks=[lambda x:x+1])
after
Class A(TreeClass):
a:Annotated[int, lambda x:x+1]
Full Changelog: https://github.com/ASEM000/PyTreeClass/compare/v0.3.4...v0.3.5
Files
ASEM000/PyTreeClass-v0.3.5.zip
Files
(271.7 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:4a32b1631fd6b70de308cbf006bc53c0
|
271.7 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/ASEM000/PyTreeClass/tree/v0.3.5 (URL)