Quantcast
Channel: Considering ASGI support
Viewing all articles
Browse latest Browse all 24

Considering ASGI support

$
0
0

@ahopkins wrote:

Opinions wanted…

The new SanicTestClient uses requests-async instead of aiohttp. In the past, we got around having aiohttp be a hard dependency by doing the import right inside the method.

I think we really have two options here: (1) we make requests-async a hard dependency of Sanic (and not just pip install sanic[test]; or (2) we break off testing.py into a new repo. That new repo would become an extra dependency. What are your thoughts? @core-devs?

My argument for making it a project on its own would be to continue to keep Sanic core as lean and dependency free as it can be in production.

Read full topic


Viewing all articles
Browse latest Browse all 24

Trending Articles