Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastAPI support #227

Open
Trinkes opened this issue Aug 23, 2023 · 2 comments
Open

FastAPI support #227

Trinkes opened this issue Aug 23, 2023 · 2 comments

Comments

@Trinkes
Copy link

Trinkes commented Aug 23, 2023

Is there any way to use Injector library with FastAPI endpoints? The ideia would be to replace completely their Depends feature.

@jack-michaud
Copy link

I've used fastapi-injector and it works fairly well. https://pypi.org/project/fastapi-injector/

@jstasiak
Copy link
Collaborator

jstasiak commented Sep 5, 2023

Hey @Trinkes, sadly I can't say I know anything about this, I never had a chance to use FastAPI.

In general my answer would be that some custom integration would be required which usually boils down to:

Sadly no good how-to guide explaining that.

@jack-michaud mentioned an interesting integration project which I didn't know about – thank you – maybe that'll help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants