From 🇨🇴 in 🇩🇪 .
Open Source, APIs, and tools for data/ML. 🤖
🐛 Fix handling of JSON Schema attributes named "$ref"
github.com/fastapi/fast...
🐛 Fix handling of JSON Schema attributes named "$ref"
github.com/fastapi/fast...
First FastAPI thing from @savannah.dev ! 🙌
Also, @crmarsh.com 's uv is awesome, use it. 😎
Install uv: docs.astral.sh/uv/getting-s...
Run:
uvx fastapi-new awesomeapp
✨ Done! ✨
Thanks @savannah.dev ! 🙌
github.com/fastapi/fast...
First FastAPI thing from @savannah.dev ! 🙌
Also, @crmarsh.com 's uv is awesome, use it. 😎
Configure there once, and then you can just run:
$ fastapi dev
...without having to pass a file path 😎
Thanks @patrick.wtf! 🙌
luzzodev just fixed Depends(func, scope="function") when used in the router, at the top level. 😎
github.com/fastapi/fast...
luzzodev just fixed Depends(func, scope="function") when used in the router, at the top level. 😎
github.com/fastapi/fast...
We had a great time together at an offsite in Seville last month. ...a sneak peek/pic below.
(@marco.ooo, @nucleonjohn.bsky.social, @savannah.dev, @patrick.wtf, @oxykodit.bsky.social)
We had a great time together at an offsite in Seville last month. ...a sneak peek/pic below.
(@marco.ooo, @nucleonjohn.bsky.social, @savannah.dev, @patrick.wtf, @oxykodit.bsky.social)
In case you needed to exit early from dependencies with yield, you can now opt in with:
Depends(some_func, scope="function")
fastapi.tiangolo.com/tutorial/dep...
In case you needed to exit early from dependencies with yield, you can now opt in with:
Depends(some_func, scope="function")
fastapi.tiangolo.com/tutorial/dep...
This way, we can quickly discover important things and bugs happening on the repos, despite the continuous massive amounts of communications and questions. 🕵️🐛
Here are THREE releases in a row, on a Friday. 🧛
FastAPI 0.120.2, 0.120.3, 0.120.4 🦇
The first 2 from yesterday, refactors and cleanup, preparing for a big feature coming. 🍬
Last, Yurii quickly fixed a bug from the previous one. 🧌
fastapi.tiangolo.com
This way, we can quickly discover important things and bugs happening on the repos, despite the continuous massive amounts of communications and questions. 🕵️🐛
I had the chance to chat with @tiangolo.com. I’ve admired his work for years and it was so inspiring to hear his perspective in person. 🥲
The full conversation is now available on YT and all podcast platforms!
youtu.be/iaDRYUQ0OMM
Fixing a bug when generating schemas for multiple nested models 🐛
github.com/fastapi/fast...
Fixing a bug when generating schemas for multiple nested models 🐛
github.com/fastapi/fast...
I had the chance to chat with its creator, @tiangolo.com about all these and more. Full episode next week!
www.youtube.com/watch?v=UpqT...
I had the chance to chat with its creator, @tiangolo.com about all these and more. Full episode next week!
www.youtube.com/watch?v=UpqT...
Suggest commands on error 🙋
Available in Typer 0.20.0 just released 🎉
Read the new docs: typer.tiangolo.com/tutorial/com...
Suggest commands on error 🙋
Available in Typer 0.20.0 just released 🎉
Read the new docs: typer.tiangolo.com/tutorial/com...
This fixes compatibility (warnings) with @pydantic.dev 2.12.1 on Python 3.14 🐍
Nothing changed for the final users, but still a lot of work underneath to get it done. 😅 Thanks @oxykodit.bsky.social! 🙌
github.com/fastapi/fast...
This fixes compatibility (warnings) with @pydantic.dev 2.12.1 on Python 3.14 🐍
Nothing changed for the final users, but still a lot of work underneath to get it done. 😅 Thanks @oxykodit.bsky.social! 🙌
github.com/fastapi/fast...
Now it has support for both Pydantic v2 AND v1 ✨
So much work just so you can migrate that old (or big) FastAPI app to Pydantic v2, please make it worth it, migrate to v2 ☕️
With support for both @pydantic.dev v2 and v1 on the same app, at the same time 🤯
This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓
Pydantic v1 is now deprecated ⛔️
Read more fastapi.tiangolo.com/how-to/migra...
Now it has support for both Pydantic v2 AND v1 ✨
So much work just so you can migrate that old (or big) FastAPI app to Pydantic v2, please make it worth it, migrate to v2 ☕️
FastAPI 0.118.3 has official support for Python 3.14 🎉
Big thanks to @oxykodit.bsky.social for a long debugging and preparation process! 🙌
And shoutout to @1st1.dev and Fantix from @geldata.com for the new httptools with support for 3.14 🙇
@oxykodit.bsky.social 🙌
github.com/fastapi/sqlm...
@oxykodit.bsky.social 🙌
github.com/fastapi/sqlm...
This fixes a use case with Pydantic models using discriminated unions in the body. 🐛
(If you don't understand or use that, no need to worry about it either 😎)
Thanks François Voron! 🙌
And thanks @patrick.wtf and Yurii! 🍰
This fixes a use case with Pydantic models using discriminated unions in the body. 🐛
(If you don't understand or use that, no need to worry about it either 😎)
Thanks François Voron! 🙌
And thanks @patrick.wtf and Yurii! 🍰
With support for the latest @pydantic.dev and some fixes for types that became a rabbit hole handled by @oxykodit.bsky.social 🙌🐇
github.com/fastapi/sqlm...
With support for the latest @pydantic.dev and some fixes for types that became a rabbit hole handled by @oxykodit.bsky.social 🙌🐇
github.com/fastapi/sqlm...
This one had the combined effort of the community, the @pydantic.dev team, and the @fastapi.tiangolo.com team, all together. 🙌
github.com/fastapi/fast...
This one had the combined effort of the community, the @pydantic.dev team, and the @fastapi.tiangolo.com team, all together. 🙌
github.com/fastapi/fast...
This is the tool you would use to easily mix async and blocking code 🔄
@oxykodit.bsky.social just fixed support for the latest AnyIO, used underneath 🚀
github.com/fastapi/asyn...
This is the tool you would use to easily mix async and blocking code 🔄
@oxykodit.bsky.social just fixed support for the latest AnyIO, used underneath 🚀
github.com/fastapi/asyn...
This one fixes a long-standing complex issue for streaming responses 🐛
And it prepares the field for some nice features coming for streaming data (e.g. most AI workflows) 🤖
🐛 This fixes a bug when using a StreamingResponse and dependencies with yield or UploadFile.
Details: Now the exit code of dependencies with yield runs after the response is sent back.
If you want to read more: fastapi.tiangolo.com/advanced/adv...
This one fixes a long-standing complex issue for streaming responses 🐛
And it prepares the field for some nice features coming for streaming data (e.g. most AI workflows) 🤖
(And the CPython internals book and many other things, but VS Code Pets!!!) 🐍🐕🐈
(And the CPython internals book and many other things, but VS Code Pets!!!) 🐍🐕🐈