Fix implicit Optional [a-n] (#76720)
This commit is contained in:
parent
cf7c716bda
commit
5a046ae7be
11 changed files with 21 additions and 16 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue