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

Support for sanic/starlette framework or async/await #496

Closed
sharkguto opened this issue Jul 27, 2017 · 6 comments
Closed

Support for sanic/starlette framework or async/await #496

sharkguto opened this issue Jul 27, 2017 · 6 comments
Labels

Comments

@sharkguto
Copy link

Description

It would be nice if we can support both , Flask and Sanic frameworks.

I did not found any example to do async requests in documentation. Someone tried to use uvloop with connexion?

@mvalkon
Copy link
Collaborator

mvalkon commented Aug 22, 2017

@sharkguto there's a development effort in progress to move towards a framework agnostic approach for Connexion in #380. If you're interested in contributing, you can take a look at #394 which implements the basic decoupling and adds Flask as one implementation.

@ralsina
Copy link

ralsina commented Feb 22, 2018

Just because I looked and in case someone sees this issue and wants to do it:

#394 is merged and other than a missing Blueprint.add_url_rule in sanic ... this seems very doable.

@cognifloyd
Copy link
Contributor

...I looked and in case someone sees this issue and wants to do it:
... a missing Blueprint.add_url_rule in sanic ...

@ralsina did your looking include writing code? Is that pre-alpha WIP code available somewhere?

@ralsina
Copy link

ralsina commented Mar 24, 2019 via email

@sharkguto sharkguto changed the title Support for sanic framework or async/await Support for sanic/starlette framework or async/await Oct 2, 2019
@sharkguto
Copy link
Author

I did write some code but never got it working properly and gave up.

On Sat, Mar 23, 2019, 22:51 Jacob Floyd @.***> wrote: ...I looked and in case someone sees this issue and wants to do it: ... a missing Blueprint.add_url_rule in sanic ... @ralsina https://github.com/ralsina did your looking include writing code? Is that pre-alpha WIP code available somewhere? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#496 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAGK_ULtwyOVNRttfxRoqBWfRAGN31Jks5vZtoBgaJpZM4OlgIT .

same thing here, but i am trying to do with starlette from now....

@RobbeSneyders
Copy link
Member

async / await and third party ASGI frameworks are supported starting 3.0. see #1395

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

Successfully merging a pull request may close this issue.

6 participants