1
0
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:
Jakob Schlyter
2024-05-22 08:22:18 +02:00
committed by GitHub
parent 1985a2ad8b
commit 2e68363755
7 changed files with 18 additions and 7 deletions

View File

@@ -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]]]"},
)