Published March 26, 2023
| Version v0.2.3
Software
Open
ASEM000/PyTreeClass: v0.2.3
Description
What's Changed
- New viz function
tree_repr_with_tracein #47 (useful for debugging) - Shield fields map from a user by removing from the class namespace in #44.
- This might be the case when a user tries to change a field value from within the instance. However, this change will affect all instances of the same class.
- Raise error for mutable values in field default. previously only raised for
a:list=[]but not fora:list=pytc.field(default=[]) - Change verbose naming of
default_factory->factory( recognized bydataclass_transformandattrs) - Raise error if a field is named
self - [internal] use
lru_cacheto improvetreeclassperf.
Full Changelog: https://github.com/ASEM000/PyTreeClass/compare/v0.2.2...v0.2.3
Files
ASEM000/PyTreeClass-v0.2.3.zip
Files
(346.3 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:6e391619dab9286425f4d97502ad751c
|
346.3 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/ASEM000/PyTreeClass/tree/v0.2.3 (URL)