MetadataOptions

class constructs.MetadataOptions(*, stack_trace=None, trace_from_function=None)

Bases: object

Options for construct.addMetadata().

Parameters
  • stack_trace (Optional[bool]) – Include stack trace with metadata entry. Default: false

  • trace_from_function (Optional[Any]) – A JavaScript function to begin tracing from. This option is ignored unless stackTrace is true. Default: addMetadata()

Attributes

stack_trace

Include stack trace with metadata entry.

Default

false

Return type

Optional[bool]

trace_from_function

A JavaScript function to begin tracing from.

This option is ignored unless stackTrace is true.

Default

addMetadata()

Return type

Any