Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TypeError with MultiDictProxy and Python 3.8 #1107

Merged
merged 3 commits into from
Sep 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix non-subscriptable MultiDictProxy with old multidict
fixes #1105
bdraco committed Sep 5, 2024
commit bc4a0aa6e4f6edd78fbbad0078939df098d721ba
2 changes: 1 addition & 1 deletion yarl/_url.py
Original file line number Diff line number Diff line change
@@ -640,7 +640,7 @@ def path(self) -> str:
return self._PATH_UNQUOTER(self.raw_path)

@cached_property
def query(self) -> MultiDictProxy[str]:
def query(self) -> "MultiDictProxy[str]":
"""A MultiDictProxy representing parsed query parameters in decoded
representation.