Add TypeVar default for FlowResult (#112345)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
This commit is contained in:
parent
33fe6ad647
commit
3d3e9900c3
14 changed files with 77 additions and 81 deletions
|
@ -34,7 +34,7 @@ from homeassistant.config_entries import (
|
|||
)
|
||||
from homeassistant.const import CONF_NAME, CONF_URL
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
from homeassistant.data_entry_flow import AbortFlow, BaseFlowManager
|
||||
from homeassistant.data_entry_flow import AbortFlow, FlowManager
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
|
||||
|
@ -182,7 +182,7 @@ class BaseZwaveJSFlow(ConfigEntryBaseFlow, ABC):
|
|||
|
||||
@property
|
||||
@abstractmethod
|
||||
def flow_manager(self) -> BaseFlowManager:
|
||||
def flow_manager(self) -> FlowManager[ConfigFlowResult]:
|
||||
"""Return the flow manager of the flow."""
|
||||
|
||||
async def async_step_install_addon(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue