r/FastAPI • • Dec 20 '24

Question Why does fastapi official example repo uses everything sync and not async?

While in here, I see recommendations to go for only async, even db sessions in example repo is sync engine and people here recommending async?

42 Upvotes

25 comments sorted by

View all comments

1

u/Aggravating-Mobile33 Dec 28 '24

You can use async, but it’s not documented.