Skip to content

AssignedSession

Source code in docs_src/capo_deadline/types/assigned_session.py
class AssignedSession(TypedDict, closed=True):
    queue_id: "capo_deadline.types.queue_id.QueueId"
    """<p>The queue ID of the assigned session.</p>"""
    job_id: "capo_deadline.types.job_id.JobId"
    """<p>The job ID for the assigned session.</p>"""
    session_actions: (
        "capo_deadline.types.assigned_session_actions.AssignedSessionActions"
    )
    """<p>The session actions to apply to the assigned session.</p>"""
    log_configuration: "capo_deadline.types.log_configuration.LogConfiguration"
    """<p>The log configuration for the worker's assigned session.</p>"""
    metadata: NotRequired["capo_deadline.types.session_metadata.SessionMetadata"]
    """<p>Key-value hints that the service provides to guide how the session runs. This value is used by the worker agent.</p>"""

job_id instance-attribute

job_id: JobId

The job ID for the assigned session.

log_configuration instance-attribute

log_configuration: LogConfiguration

The log configuration for the worker's assigned session.

metadata instance-attribute

metadata: NotRequired[SessionMetadata]

Key-value hints that the service provides to guide how the session runs. This value is used by the worker agent.

queue_id instance-attribute

queue_id: QueueId

The queue ID of the assigned session.

session_actions instance-attribute

session_actions: AssignedSessionActions

The session actions to apply to the assigned session.