Skip to content

Commit

Permalink
Fix type hint for client constructor arguments (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed May 1, 2021
1 parent b7ec5e1 commit 43385df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/adguardhome/adguardhome.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ def __init__(
host: str,
*,
base_path: str = "/control",
password: str = None,
password: str | None = None,
port: int = 3000,
request_timeout: int = 10,
session: aiohttp.client.ClientSession | None = None,
tls: bool = False,
user_agent: str = None,
username: str = None,
user_agent: str | None = None,
username: str | None = None,
verify_ssl: bool = True,
) -> None:
"""Initialize connection with AdGuard Home.
Expand Down

0 comments on commit 43385df

Please sign in to comment.