Skip to content

Align __getitem__ type with scope type#1118

Merged
Kludex merged 3 commits intoKludex:masterfrom
sburba:master
Sep 18, 2021
Merged

Align __getitem__ type with scope type#1118
Kludex merged 3 commits intoKludex:masterfrom
sburba:master

Conversation

@sburba
Copy link
Contributor

@sburba sburba commented Dec 28, 2020

Scope does not only contain strings, see full spec here:
https://asgi.readthedocs.io/en/latest/specs/www.html#websocket-connection-scope

Fixes #1117

@JayH5 JayH5 added the typing Type annotations or mypy issues label Feb 4, 2021
Copy link
Owner

@Kludex Kludex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep!

@sburba Thanks for the PR! 🎉

@Kludex Kludex merged commit 217019b into Kludex:master Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typing Type annotations or mypy issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTTPConnection::__get_item__ has incorrect type signature

3 participants