Class ClientMetadata

class sila2.client.ClientMetadata(parent_feature: ClientFeature, wrapped_metadata: Metadata)

Wraps a metadata element

__call__(value: ItemType) ClientMetadataInstance[ItemType]

Create an instance of this metadata with the given value

Parameters:

value – The metadata value

Returns:

instance – An instance of this metadata with the given value

get_affected_calls() List[FullyQualifiedIdentifier]

Get the list of calls that are affected by this metadata

Returns:

affected_calls – List of fully qualified identifiers of features, commands, and properties that are affected by this metadata

Class ClientMetadataInstance

class sila2.client.ClientMetadataInstance(metadata: Metadata, value: ItemType)

Pair of metadata type and value, like a key-value pair

metadata: Metadata

Metadata type

value: ItemType

Metadata value