
#415: Future of Pydantic and FastAPI
Talk Python To Me
00:00
The Importance of Type Annotations in SQL Alchemy
When you define a class, for example, it's like a SQL alchemy column. And so there's this weirdness of using types to kind of drive behavior. That's a perfect case for using annotated. It does mean two different things in the Django context. There will probably be a way at some point. But then currently, as far as I know, there's no way to define that with type annotations in a standard way.
Transcript
Play full episode