Skip to content

Commit

Permalink
Fix TypeError with MultiDictProxy and Python 3.8 (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Sep 5, 2024
1 parent 51541ec commit 7acfed4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/1084.bugfix.rst
1 change: 1 addition & 0 deletions CHANGES/1105.bugfix.rst
1 change: 1 addition & 0 deletions CHANGES/1107.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed a :exc:`TypeError` with ``MultiDictProxy`` and Python 3.8 -- by :user:`bdraco`.
2 changes: 1 addition & 1 deletion yarl/_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7acfed4

Please sign in to comment.