Import ASGIDispatch from top-level httpx (#1806)
As importing from submodules of httpx is deprecated and removed in 0.12.0
This commit is contained in:
parent
d969fdc19f
commit
ae40f960ff
@ -185,7 +185,7 @@ async def app_call_with_return(self, scope, receive, send):
|
|||||||
return await asgi_app()
|
return await asgi_app()
|
||||||
|
|
||||||
|
|
||||||
class SanicASGIDispatch(httpx.dispatch.asgi.ASGIDispatch):
|
class SanicASGIDispatch(httpx.ASGIDispatch):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user