Post

FastAPI
FastAPI@FastAPI·
FastAPI 0.95.0 supports and recommends Annotated! 🚀 Probably the biggest feature in months 🎉 Many benefits, re-use your functions in other places (soon you'll be able to use Typer with FastAPI in the same functions), reduce code duplication for dependencies in big apps 😎
FastAPI tweet mediaFastAPI tweet media
English
8
84
581
130.1K
FastAPI
FastAPI@FastAPI·
Annotated is standard Python, so you keep autocompletion and inline errors in your editor, type checkers like mypy, etc. while still getting the benefits of FastAPI.
English
0
0
0
4.7K
FastAPI
FastAPI@FastAPI·
Great job by Nadav Zingerman with the core PR 😎 And also inspiration from @adriangb01 with Xpresso ☕ This also involved 23K new lines added in docs, examples, and new tests ✅ Now all the examples show versions with and without Annotated, for each Python version 🐍
English
2
0
27
8.2K
Paylaş