dataclasses
Classes:
-
StorableDataclass–A base for user-defined storable dataclasses.
StorableDataclass
Bases: Storable, _FakeBase
A base for user-defined storable dataclasses.
Methods:
-
storable_body_serializer–Return the serializer for the body of this storable class.
-
storable_body_storage–Return the storage for the body of this storable class.
-
storable_config–Get the configuration for this storable class.
storable_body_serializer
storable_body_serializer(registry: Registry) -> Serializer
Return the serializer for the body of this storable class.
storable_body_storage
Return the storage for the body of this storable class.
storable_config
classmethod
storable_config(
*, allow_none: bool
) -> StorableConfig | None
storable_config(
*, allow_none: Literal[False] = ...
) -> StorableConfig
storable_config(
*, allow_none: bool = False
) -> StorableConfig | None
Get the configuration for this storable class.