Update typing 11 (#48072)
This commit is contained in:
parent
99f9f8dec0
commit
3d2b81a401
45 changed files with 206 additions and 154 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue