You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using https://github.com/ets-labs/python-dependency-injector with our fastapi api, consisting of a repository/service pattern. Since with that library the async ability of fastapi is not possible and the fact that the library is not maintained anymore, we are looking for an alternatieve.
Would implementing a repisitory/service pattern with FastDepends be possible, and allow for async non blocking Datbase calls?
Thanks. Btw FastStreams looking really nice too!
The text was updated successfully, but these errors were encountered:
@theobouwman thanks for such glad feedback!
For now FastDepends is not a real DI system, but a serizliation/Depends providing tool to build FastAPI-like tools.
I am targeting to make it really-DI, but not in the nearest future, so you can take a look at some alternatives: like di or dishka (I know the developer and the tool looks promising)
Hi,
We are using https://github.com/ets-labs/python-dependency-injector with our fastapi api, consisting of a repository/service pattern. Since with that library the async ability of fastapi is not possible and the fact that the library is not maintained anymore, we are looking for an alternatieve.
Would implementing a repisitory/service pattern with FastDepends be possible, and allow for async non blocking Datbase calls?
Thanks. Btw FastStreams looking really nice too!
The text was updated successfully, but these errors were encountered: