Improve data entry flow typing (#84030)
This commit is contained in:
parent
033a16b67e
commit
bf4c399b19
5 changed files with 6 additions and 6 deletions
|
@ -813,7 +813,7 @@ class ConfigEntriesFlowManager(data_entry_flow.FlowManager):
|
|||
return result
|
||||
|
||||
async def async_create_flow(
|
||||
self, handler_key: Any, *, context: dict | None = None, data: Any = None
|
||||
self, handler_key: str, *, context: dict | None = None, data: Any = None
|
||||
) -> ConfigFlow:
|
||||
"""Create a flow for specified handler.
|
||||
|
||||
|
@ -1647,7 +1647,7 @@ class OptionsFlowManager(data_entry_flow.FlowManager):
|
|||
|
||||
async def async_create_flow(
|
||||
self,
|
||||
handler_key: Any,
|
||||
handler_key: str,
|
||||
*,
|
||||
context: dict[str, Any] | None = None,
|
||||
data: dict[str, Any] | None = None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue