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.
1 parent 0aa06b9 commit 9401e14Copy full SHA for 9401e14
1 file changed
stubs/Authlib/authlib/common/urls.pyi
@@ -9,10 +9,7 @@ _ExplodedQueryString: TypeAlias = list[tuple[str, str]]
9
10
def url_encode(params: _ExplodedQueryString) -> str: ...
11
def url_decode(query: str) -> _ExplodedQueryString: ...
12
-@overload
13
-def add_params_to_qs(query: str, params: _ExplodedQueryString) -> str: ...
14
15
-def add_params_to_qs(query: str, params: dict[str, str]) -> str: ...
+def add_params_to_qs(query: str, params: _ExplodedQueryString | dict[str, str]) -> str: ...
16
def add_params_to_uri(uri: str, params: _ExplodedQueryString, fragment: bool = False) -> str: ...
17
def quote(s: str, safe: bytes = b"/") -> str: ...
18
def unquote(s: str | bytes) -> str: ...
0 commit comments