Improve type hint in entity_registry (#100278)

pull/98869/head^2
Erik Montnemery 2023-09-13 12:42:06 +02:00 committed by GitHub
parent 4f8e28a781
commit 684b2d4537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ class EntityRegistryStore(storage.Store[dict[str, list[dict[str, Any]]]]):
return data
class EntityRegistryItems(UserDict[str, "RegistryEntry"]):
class EntityRegistryItems(UserDict[str, RegistryEntry]):
"""Container for entity registry items, maps entity_id -> entry.
Maintains two additional indexes: