Use Mapping as default for Event data (#112769)

This commit is contained in:
Marc Mueller 2024-03-09 07:37:59 +01:00 committed by GitHub
parent a50883d975
commit 6a2f7a6347
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -125,7 +125,7 @@ _P = ParamSpec("_P")
# Internal; not helpers.typing.UNDEFINED due to circular dependency
_UNDEF: dict[Any, Any] = {}
_CallableT = TypeVar("_CallableT", bound=Callable[..., Any])
_DataT = TypeVar("_DataT", bound=Mapping[str, Any], default=dict[str, Any])
_DataT = TypeVar("_DataT", bound=Mapping[str, Any], default=Mapping[str, Any])
CALLBACK_TYPE = Callable[[], None]
CORE_STORAGE_KEY = "core.config"