Enhancement: Use asgiref for typing
See original GitHub issueStarlette’s ASGI types use MutableMapping[str, Any]
which is not too different from just typing them dict
. This package is fully spec compliant and would help in implementing additional ASGI functionality, as it would allow us to see exactly which keys are available/required to support a feature. There is currently a PR for Starlette that addresses this but it doesn’t seem like it would be merged soon.
Issue Analytics
- State:
- Created a year ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Asgi Websocket example not working on asgiref>=3.x #225
I'm guessing there has been some change to asgi since this was written, however I lack the experience to figure it out on...
Read more >[Django] #32889: Use asgiref ThreadSensitiveContext to allow ...
Type : | Status: assigned. Cleanup/optimization | Component: HTTP | Version: 4.0 handling | Severity: Normal | Keywords: async, asgi
Read more >32128 (Issue with asgiref dependency installing Django 3.1.x)
It looks like we've misspecified the asgiref dependency in Django 3.1.x. ... This is using the old resolver but the new one will...
Read more >asgiref · PyPI
Implements the group extension, and is designed to support running multiple ASGI programs in separate threads within one process (the channel layer is ......
Read more >ASGI Documentation
These events each have a defined type key, which can be used to infer the ... ASGI servers through a translation wrapper (provided...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@relsunkaev - it took a while, but i made this change. Welcome to check it out.
i saw that kludex released a version of the typing as an independent package. would you like to implement this @relsunkaev ?