Add a new frozen_default
parameter to dataclass_transform
similar to the existing eq_default
and order_default
parameters.
flax.struct.dataclass
and tjax.dataclass
), so being able to indicate that they are frozen by default would improve the user experience.dataclass_transform
is currently supported by Pyright/Pylance and Pyre. Both teams are in favor of implementing this new parameter. Since dataclass_transform
supports kwargs for experimentation/extensibility, Pyright was already able to add support for frozen_default
.Discussed in typing-sig.
Linked PRsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4