Skip to content

Goal

Source code in docs_src/capo_devops_agent/types/goal.py
class Goal(TypedDict, closed=True):
    agent_space_arn: "str"
    """<p>The unique identifier for the agent space containing this goal</p>"""
    goal_id: "str"
    """<p>The unique identifier for this goal</p>"""
    title: "str"
    """<p>The title of the goal</p>"""
    content: "capo_devops_agent.types.goal_content.GoalContent"
    """<p>Content of the goal</p>"""
    status: "capo_devops_agent.types.goal_status.GoalStatus"
    """<p>Current status of the goal itself</p>"""
    goal_type: "capo_devops_agent.types.goal_type.GoalType"
    """<p>Type of goal based on its origin</p>"""
    created_at: "capo_devops_agent.types.back_log_timestamp.BackLogTimestamp"
    """<p>Timestamp when this goal was created</p>"""
    updated_at: "capo_devops_agent.types.back_log_timestamp.BackLogTimestamp"
    """<p>Timestamp when this goal was last updated</p>"""
    last_evaluated_at: NotRequired[
        "capo_devops_agent.types.back_log_timestamp.BackLogTimestamp"
    ]
    """<p>Timestamp when the goal was last evaluated</p>"""
    last_task_id: NotRequired["str"]
    """<p>ID of the most recent task associated with this goal</p>"""
    last_successful_task_id: NotRequired["str"]
    """<p>ID of the most recent successful task associated with this goal</p>"""
    version: "int"
    """<p>Version number for optimistic locking</p>"""
    evaluation_schedule: NotRequired[
        "capo_devops_agent.types.goal_schedule.GoalSchedule"
    ]
    """<p>Goal Schedule. Allows to schedule the goal to run periodically, as well as disable a goal temporarily</p>"""

agent_space_arn instance-attribute

agent_space_arn: str

The unique identifier for the agent space containing this goal

content instance-attribute

content: GoalContent

Content of the goal

created_at instance-attribute

created_at: BackLogTimestamp

Timestamp when this goal was created

evaluation_schedule instance-attribute

evaluation_schedule: NotRequired[GoalSchedule]

Goal Schedule. Allows to schedule the goal to run periodically, as well as disable a goal temporarily

goal_id instance-attribute

goal_id: str

The unique identifier for this goal

goal_type instance-attribute

goal_type: GoalType

Type of goal based on its origin

last_evaluated_at instance-attribute

last_evaluated_at: NotRequired[BackLogTimestamp]

Timestamp when the goal was last evaluated

last_successful_task_id instance-attribute

last_successful_task_id: NotRequired[str]

ID of the most recent successful task associated with this goal

last_task_id instance-attribute

last_task_id: NotRequired[str]

ID of the most recent task associated with this goal

status instance-attribute

status: GoalStatus

Current status of the goal itself

title instance-attribute

title: str

The title of the goal

updated_at instance-attribute

updated_at: BackLogTimestamp

Timestamp when this goal was last updated

version instance-attribute

version: int

Version number for optimistic locking