1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Remove config flow specifics from FlowResult (#111932)

* Remove config flow specifics from FlowResult

* Improve docstring

* Update pylint rules
This commit is contained in:
Erik Montnemery
2024-03-01 13:07:13 +01:00
committed by GitHub
parent e209ae3d4e
commit 3a5e0c14bf
4 changed files with 60 additions and 18 deletions

View File

@@ -151,7 +151,6 @@ class FlowResult(TypedDict, total=False):
handler: Required[str]
last_step: bool | None
menu_options: list[str] | dict[str, str]
minor_version: int
options: Mapping[str, Any]
preview: str | None
progress_action: str
@@ -164,7 +163,6 @@ class FlowResult(TypedDict, total=False):
translation_domain: str
type: FlowResultType
url: str
version: int
def _map_error_to_schema_errors(