A specialized StorageCollection where the items are untyped dicts.
Definition at line 396 of file collection.py.
◆ _create_item()
| dict homeassistant.helpers.collection.DictStorageCollection._create_item |
( |
|
self, |
|
|
str |
item_id, |
|
|
dict |
data |
|
) |
| |
|
private |
Create an item from its validated, serialized representation.
Definition at line 399 of file collection.py.
◆ _data_to_save()
Return JSON-compatible date for storing to file.
Definition at line 412 of file collection.py.
◆ _deserialize_item()
| dict homeassistant.helpers.collection.DictStorageCollection._deserialize_item |
( |
|
self, |
|
|
dict |
data |
|
) |
| |
|
private |
Create an item from its validated, serialized representation.
Definition at line 403 of file collection.py.
◆ _serialize_item()
| dict homeassistant.helpers.collection.DictStorageCollection._serialize_item |
( |
|
self, |
|
|
str |
item_id, |
|
|
dict |
item |
|
) |
| |
|
private |
Return the serialized representation of an item for storing.
Definition at line 407 of file collection.py.
The documentation for this class was generated from the following file: