Skip to content

UpdateWorkerScheduleResponse

Source code in docs_src/capo_deadline/types/update_worker_schedule_response.py
class UpdateWorkerScheduleResponse(TypedDict, closed=True):
    assigned_sessions: "capo_deadline.types.assigned_sessions.AssignedSessions"
    """<p>The assigned sessions to update.</p>"""
    cancel_session_actions: (
        "capo_deadline.types.cancel_session_actions.CancelSessionActions"
    )
    """<p>The session actions associated with the worker schedule to cancel.</p>"""
    desired_worker_status: NotRequired[
        "capo_deadline.types.desired_worker_status.DesiredWorkerStatus"
    ]
    """<p>The status to update the worker to.</p>"""
    update_interval_seconds: "capo_deadline.types.update_worker_schedule_interval.UpdateWorkerScheduleInterval"
    """<p>Updates the time interval (in seconds) for the schedule.</p>"""

assigned_sessions instance-attribute

assigned_sessions: AssignedSessions

The assigned sessions to update.

cancel_session_actions instance-attribute

cancel_session_actions: CancelSessionActions

The session actions associated with the worker schedule to cancel.

desired_worker_status instance-attribute

desired_worker_status: NotRequired[DesiredWorkerStatus]

The status to update the worker to.

update_interval_seconds instance-attribute

update_interval_seconds: UpdateWorkerScheduleInterval

Updates the time interval (in seconds) for the schedule.