Update typing 13 (#48077)
This commit is contained in:
parent
a3cd1854f6
commit
b67b9b94f9
51 changed files with 287 additions and 226 deletions
|
@ -1,5 +1,7 @@
|
|||
"""OAuth2 implementations for Toon."""
|
||||
from typing import Any, Optional, cast
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, cast
|
||||
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import config_entry_oauth2_flow
|
||||
|
@ -55,7 +57,7 @@ class ToonLocalOAuth2Implementation(config_entry_oauth2_flow.LocalOAuth2Implemen
|
|||
client_secret: str,
|
||||
name: str,
|
||||
tenant_id: str,
|
||||
issuer: Optional[str] = None,
|
||||
issuer: str | None = None,
|
||||
):
|
||||
"""Local Toon Oauth Implementation."""
|
||||
self._name = name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue