Skip to content

Align __getitem__ type with scope type - #1118

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

Kludex merged 3 commits into
Kludex:masterfrom
sburba:master

Conversation

@sburba

@sburba sburba commented Dec 28, 2020

Copy link
Copy Markdown
Contributor

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

@Kludex Kludex left a comment

Copy link
Copy Markdown
Owner

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