3 ms·
Concretely, I found out about dataclasses by using [pydantic](https://pydantic-docs.helpmanual.io/ https://pydantic-docs.helpmanual.io/) and seeing their drop-i
by chaos_emergent 5y ago
Concretely, I found out about dataclasses by using [pydantic](https://pydantic-docs.helpmanual.io/ https://pydantic-docs.helpmanual.io/) and seeing their drop-in `@dataclass` annotation - it got me curious about the adjacent stdlib class. I was using pydantic because I started using FastAPI to build a REST interface, which has pydantic deeply integrated.
Generally, I find out about new features through PEP posts, and I reach those by seeing a keyword that I don't know in random code I read online