Skip to content

Commit

Permalink
TYP: add type Any for URL first argument
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcBresson committed Dec 12, 2024
1 parent e1251ff commit 985ea2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpx/_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class URL:
themselves.
"""

def __init__(self, url: URL | str = "", **kwargs: typing.Any) -> None:
def __init__(self, url: URL | str | typing.Any = "", **kwargs: typing.Any) -> None:
if kwargs:
allowed = {
"scheme": str,
Expand Down

0 comments on commit 985ea2e

Please sign in to comment.