You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to objects we get from frozen dataclasses or frozen pydantic models, simple data that we can compare and treat as values would be useful for debugging (eg, stack traces in test frameworks that reveal values) & general productivity.
Basically, define
__hash__
__repr__
and block setting properties.
Models with different attributes can already be created via serialize & deserialize methods.
The text was updated successfully, but these errors were encountered:
Similar to objects we get from frozen dataclasses or frozen pydantic models, simple data that we can compare and treat as values would be useful for debugging (eg, stack traces in test frameworks that reveal values) & general productivity.
Basically, define
__hash__
__repr__
and block setting properties.
Models with different attributes can already be created via
serialize
&deserialize
methods.The text was updated successfully, but these errors were encountered: