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.

trace

Stack trace.

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

Default:
  • no trace information

type

The metadata entry type.