Replies: 2 comments 2 replies
-
I just can advice you to take a look at this project: https://github.com/Tishka17/deseos17/blob/master/src/deseos17/main/web.py#L60 It is a good example, how FastAPI Depends can be cooked (and how bad they are as well) |
Beta Was this translation helpful? Give feedback.
2 replies
-
If anyone is interested, my implementation can be found in: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I know that this might be more of a FastAPI question because Depends is from FastAPI, but I'll try anyway.
I'd like to pass a repository instance as a dependency created by a DI (Dependency Injection) container.
The code is:
But I have this error:
I've tried a lot of options without success. Can anyone help me?
Beta Was this translation helpful? Give feedback.
All reactions