Depends on what you are trying to accomplish, pydantic is great for encoding/decoding
If you don't need that go with dataclasses
Depends on what you are trying to accomplish, pydantic is great for encoding/decoding
If you don't need that go with dataclasses