mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Improve typing via hassfest serializer (#117382)
This commit is contained in:
@@ -20,7 +20,7 @@ def generate_and_validate(integrations: dict[str, Integration]) -> str:
|
||||
|
||||
return format_python_namespace(
|
||||
{"DHCP": match_list},
|
||||
annotations={"DHCP": "list[dict[str, str | bool]]"},
|
||||
annotations={"DHCP": "Final[list[dict[str, str | bool]]]"},
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user