mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Type data parameter as Mapping in async_create_entry (#49050)
This commit is contained in:
committed by
GitHub
parent
34a1dd4120
commit
9997ae6932
@@ -3,6 +3,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
import asyncio
|
import asyncio
|
||||||
|
from collections.abc import Mapping
|
||||||
from types import MappingProxyType
|
from types import MappingProxyType
|
||||||
from typing import Any
|
from typing import Any
|
||||||
import uuid
|
import uuid
|
||||||
@@ -318,7 +319,7 @@ class FlowHandler:
|
|||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
title: str,
|
title: str,
|
||||||
data: dict,
|
data: Mapping[str, Any],
|
||||||
description: str | None = None,
|
description: str | None = None,
|
||||||
description_placeholders: dict | None = None,
|
description_placeholders: dict | None = None,
|
||||||
) -> dict[str, Any]:
|
) -> dict[str, Any]:
|
||||||
|
Reference in New Issue
Block a user