Contents
Custom nested dataclass for convenient access of nested dataclass attributes.
Return a nested dataclass as a dict (convenience function).
Dict
Nested dataclass annotation.
Normal dataclasses are difficult to use in a nested way and the types are not correctly inferred. Annotating a dataclass with the nested_dataclass allows an easy use.
nested_dataclass