Connexion: Support for sanic/starlette framework or async/await

Created on 27 Jul 2017  Â·  5Comments  Â·  Source: zalando/connexion

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?

question

Most helpful comment

@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.

All 5 comments

@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.

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.

...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?

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

On Sat, Mar 23, 2019, 22:51 Jacob Floyd notifications@github.com 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
https://github.com/zalando/connexion/issues/496#issuecomment-475920526,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAGK_ULtwyOVNRttfxRoqBWfRAGN31Jks5vZtoBgaJpZM4OlgIT
.

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....

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FRNCSCM picture FRNCSCM  Â·  4Comments

bioslikk picture bioslikk  Â·  4Comments

writeson picture writeson  Â·  4Comments

srlopez picture srlopez  Â·  4Comments

mit2nil picture mit2nil  Â·  4Comments