Skip to content

ExecutionContext

Source code in docs_src/capo_securityagent/types/execution_context.py
class ExecutionContext(TypedDict, closed=True):
    context_type: NotRequired["capo_securityagent.types.context_type.ContextType"]
    """<p>The type of context. Valid values include ERROR, CLIENT_ERROR, WARNING, and INFO.</p>"""
    context: NotRequired["str"]
    """<p>The context message.</p>"""
    timestamp: NotRequired["datetime.datetime"]
    """<p>The date and time the context was recorded, in UTC format.</p>"""

context instance-attribute

context: NotRequired[str]

The context message.

context_type instance-attribute

context_type: NotRequired[ContextType]

The type of context. Valid values include ERROR, CLIENT_ERROR, WARNING, and INFO.

timestamp instance-attribute

timestamp: NotRequired[datetime]

The date and time the context was recorded, in UTC format.