Update typing 13 (#48077)

This commit is contained in:
Marc Mueller 2021-03-18 14:43:52 +01:00 committed by GitHub
parent a3cd1854f6
commit b67b9b94f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 287 additions and 226 deletions

View file

@ -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