Skip to content

Task

Source code in docs_src/capo_assurance/types/task.py
class Task(TypedDict, closed=True):
    environment: "capo_assurance.types.environment_id.EnvironmentId"
    """<p>The name of the governance environment the task belongs to.</p>"""
    project: "capo_assurance.types.project_name.ProjectName"
    """<p>The name of the project.</p>"""
    framework: "capo_assurance.types.framework_name.FrameworkName"
    """<p>The name of the compliance framework.</p>"""
    framework_version: "capo_assurance.types.framework_version.FrameworkVersion"
    """<p>The version of the compliance framework.</p>"""
    control_id: "capo_assurance.types.control_id.ControlID"
    """<p>The control identifier. Optional. If omitted, the operation applies to the full framework.</p>"""
    task_id: "capo_assurance.types.task_id.TaskId"
    """<p>The identifier of the task.</p>"""
    title: "capo_assurance.types.task_title.TaskTitle"
    """<p>The human-readable title of the task.</p>"""
    description: NotRequired["capo_assurance.types.task_description.TaskDescription"]
    """<p>A description of the task.</p>"""
    status: "capo_assurance.types.task_status.TaskStatus"
    """<p>The current lifecycle state of the task.</p>"""
    created_by: NotRequired["str"]
    """<p>The identity of the principal who created the task.</p>"""
    due_at: NotRequired["datetime.datetime"]
    """<p>The deadline for the task.</p>"""
    priority: NotRequired["capo_assurance.types.task_priority.TaskPriority"]
    """<p>The relative priority of the item.</p>"""
    created_at: NotRequired["datetime.datetime"]
    """<p>The timestamp when the task was created.</p>"""
    updated_at: NotRequired["datetime.datetime"]
    """<p>The timestamp when the task was last updated.</p>"""

control_id instance-attribute

control_id: ControlID

The control identifier. Optional. If omitted, the operation applies to the full framework.

created_at instance-attribute

created_at: NotRequired[datetime]

The timestamp when the task was created.

created_by instance-attribute

created_by: NotRequired[str]

The identity of the principal who created the task.

description instance-attribute

description: NotRequired[TaskDescription]

A description of the task.

due_at instance-attribute

due_at: NotRequired[datetime]

The deadline for the task.

environment instance-attribute

environment: EnvironmentId

The name of the governance environment the task belongs to.

framework instance-attribute

framework: FrameworkName

The name of the compliance framework.

framework_version instance-attribute

framework_version: FrameworkVersion

The version of the compliance framework.

priority instance-attribute

priority: NotRequired[TaskPriority]

The relative priority of the item.

project instance-attribute

project: ProjectName

The name of the project.

status instance-attribute

status: TaskStatus

The current lifecycle state of the task.

task_id instance-attribute

task_id: TaskId

The identifier of the task.

title instance-attribute

title: TaskTitle

The human-readable title of the task.

updated_at instance-attribute

updated_at: NotRequired[datetime]

The timestamp when the task was last updated.