MetadataEntry

class constructs.MetadataEntry(*, data, type, trace=None)

Bases: object

An entry in the construct metadata table.

Parameters
  • data (Any) – The data.

  • type (str) – The metadata entry type.

  • trace (Optional[Sequence[str]]) – Stack trace. Can be omitted by setting the context key ConstructMetadata.DISABLE_STACK_TRACE_IN_METADATA to 1. Default: - no trace information

Attributes

data

The data.

Return type

Any

trace

Stack trace.

Can be omitted by setting the context key ConstructMetadata.DISABLE_STACK_TRACE_IN_METADATA to 1.

Default
  • no trace information

Return type

Optional[List[str]]

type

The metadata entry type.

Return type

str