Skip to content

Commit 9401e14

Browse files
mrhx01srittau
andauthored
Update stubs/Authlib/authlib/common/urls.pyi
Co-authored-by: Sebastian Rittau <sebastian.rittau@zfutura.de>
1 parent 0aa06b9 commit 9401e14

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

stubs/Authlib/authlib/common/urls.pyi

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ _ExplodedQueryString: TypeAlias = list[tuple[str, str]]
99

1010
def url_encode(params: _ExplodedQueryString) -> str: ...
1111
def url_decode(query: str) -> _ExplodedQueryString: ...
12-
@overload
13-
def add_params_to_qs(query: str, params: _ExplodedQueryString) -> str: ...
14-
@overload
15-
def add_params_to_qs(query: str, params: dict[str, str]) -> str: ...
12+
def add_params_to_qs(query: str, params: _ExplodedQueryString | dict[str, str]) -> str: ...
1613
def add_params_to_uri(uri: str, params: _ExplodedQueryString, fragment: bool = False) -> str: ...
1714
def quote(s: str, safe: bytes = b"/") -> str: ...
1815
def unquote(s: str | bytes) -> str: ...

0 commit comments

Comments
 (0)