Class MetadataDict

class sila2.server.MetadataDict(parent_server: SilaServer, base_dict: typing.Dict[FullyQualifiedMetadataIdentifier, typing.Any] | None = None)

Bases: Mapping[Metadata, Any]

dict-like class that maps Metadata objects to the received data objects

Examples

>>> metadata[LockControllerFeature["LockIdentifier"]]
'my-lock-token'