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

Quart Support #85

Open
collinsmarra opened this issue Mar 12, 2024 · 3 comments
Open

Quart Support #85

collinsmarra opened this issue Mar 12, 2024 · 3 comments
Labels
question Further information is requested

Comments

@collinsmarra
Copy link

I like the way you write your APIs and I always use microblog-api as my inspiration. I recently came across Quart and I decided to use it and will probably be using it going on. I completed one project with Quart while using your 'style' and your extensions as Quart allows one to use some Flask extensions with recently quart_flask_patch and before quart.quart_flask_patch. But since upgrading to Quart>=0.19.0 some extensions like APIFairy are not compatible. I was wondering if there are plans to add quart support here or someone from the community can do it in a separate repisitory

@miguelgrinberg
Copy link
Owner

miguelgrinberg commented Mar 12, 2024

I don't have plans to support Quart at this time, sorry. My understanding is that most Flask extensions do not work well with Quart, so I'm surprised this one worked at all at some point.

@miguelgrinberg miguelgrinberg added the question Further information is requested label Mar 12, 2024
@collinsmarra
Copy link
Author

Also, Flask-HTTPAuth and Alchemical worked. Alchemical still works.
I modified Flask-HTTPAuth to create Quart-HTTPAuth. I see APIFairy use Flask-HTTPAuth so maybe that will be a good start,

@miguelgrinberg
Copy link
Owner

Alchemical is framework agnostic and has native support for asyncio, so yes, that should work just fine not only with Quart but also with FastAPI or any other async framework.

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

No branches or pull requests

2 participants