Fix implicit Optional [a-n] (#76720)

This commit is contained in:
Marc Mueller 2022-08-13 18:46:34 +02:00 committed by GitHub
parent cf7c716bda
commit 5a046ae7be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 21 additions and 16 deletions

View file

@ -42,9 +42,9 @@ _LOGGER = logging.getLogger(__name__)
def get_api(
password: str,
host: str = None,
username: str = None,
port: int = None,
host: str | None = None,
username: str | None = None,
port: int | None = None,
ssl: bool = False,
) -> Netgear:
"""Get the Netgear API and login to it."""