We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_QueryType
1 parent c7ab1db commit c3b49f2Copy full SHA for c3b49f2
src/rfc3986/builder.py
@@ -20,10 +20,12 @@
20
from . import uri
21
from . import uri_reference
22
23
-# Copied from urllib.parse in typeshed.
+# Modified from urllib.parse in typeshed.
24
_QueryType = t.Union[
25
t.Mapping[t.Any, t.Any],
26
t.Mapping[t.Any, t.Sequence[t.Any]],
27
+ # Substituting List for Sequence since one of the add/extend methods
28
+ # below has a runtime isinstance check for list.
29
t.List[t.Tuple[t.Any, t.Any]],
30
t.List[t.Tuple[t.Any, t.Sequence[t.Any]]],
31
]
0 commit comments