Add missing typing to data_entry_flow (#49271)

This commit is contained in:
J. Nick Koston 2021-04-15 09:59:52 -10:00 committed by GitHub
parent 5a01addd67
commit 5fb36ad9e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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