Type data parameter as Mapping in async_create_entry (#49050)

pull/49070/head
Ruslan Sayfutdinov 2021-04-11 15:56:33 +01:00 committed by GitHub
parent 34a1dd4120
commit 9997ae6932
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ from __future__ import annotations
import abc
import asyncio
from collections.abc import Mapping
from types import MappingProxyType
from typing import Any
import uuid
@ -318,7 +319,7 @@ class FlowHandler:
self,
*,
title: str,
data: dict,
data: Mapping[str, Any],
description: str | None = None,
description_placeholders: dict | None = None,
) -> dict[str, Any]: