mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 02:07:54 +00:00
Add missing typing to data_entry_flow (#49271)
This commit is contained in:
parent
5a01addd67
commit
5fb36ad9e1
@ -164,7 +164,7 @@ class FlowManager(abc.ABC):
|
||||
handler: str,
|
||||
context: dict,
|
||||
data: Any,
|
||||
) -> tuple[FlowHandler, Any]:
|
||||
) -> tuple[FlowHandler, FlowResultDict]:
|
||||
"""Run the init in a task to allow it to be canceled at shutdown."""
|
||||
flow = await self.async_create_flow(handler, context=context, data=data)
|
||||
if not flow:
|
||||
|
Loading…
x
Reference in New Issue
Block a user