4 ms·
Yeah...those are all not the use cases that Enums were intended/designed for. Juse use Python's `dataclass` or similar (`pydantic` is great) and just build the
by jasonpeacock 6y ago
Yeah...those are all not the use cases that Enums were intended/designed for.
Juse use Python's `dataclass` or similar (`pydantic` is great) and just build the custom data types that you need.