Update typing 11 (#48072)

This commit is contained in:
Marc Mueller 2021-03-18 13:21:46 +01:00 committed by GitHub
parent 99f9f8dec0
commit 3d2b81a401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 206 additions and 154 deletions

View file

@ -11,12 +11,12 @@ and everything else custom is for the old api. When configured with the
new api via NestFlowHandler.register_sdm_api, the custom methods just
invoke the AbstractOAuth2FlowHandler methods.
"""
from __future__ import annotations
import asyncio
from collections import OrderedDict
import logging
import os
from typing import Dict
import async_timeout
import voluptuous as vol
@ -98,7 +98,7 @@ class NestFlowHandler(
return logging.getLogger(__name__)
@property
def extra_authorize_data(self) -> Dict[str, str]:
def extra_authorize_data(self) -> dict[str, str]:
"""Extra data that needs to be appended to the authorize url."""
return {
"scope": " ".join(SDM_SCOPES),