"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
# @generated-id: c4c09c4d5ea7

from __future__ import annotations
from .failure import Failure, FailureTypedDict
from mistralai.client.types import BaseModel
from typing_extensions import TypedDict


class WorkflowTaskFailedAttributesTypedDict(TypedDict):
    r"""Attributes for workflow task failed events."""

    task_id: str
    r"""Unique identifier for the task within the workflow execution."""
    failure: FailureTypedDict
    r"""Represents an error or exception that occurred during execution."""


class WorkflowTaskFailedAttributes(BaseModel):
    r"""Attributes for workflow task failed events."""

    task_id: str
    r"""Unique identifier for the task within the workflow execution."""

    failure: Failure
    r"""Represents an error or exception that occurred during execution."""
