langgraph_agent_toolkit.schema.task_data module
- class langgraph_agent_toolkit.schema.task_data.TaskData(*, name=None, run_id='', state=None, result=None, data={})[source][source]
Bases:
BaseModelCreate a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Parameters:
name (str | None)
run_id (str)
state (Literal['new', 'running', 'complete'] | None)
result (Literal['success', 'error'] | None)
data (dict[str, Any])
- name: str | None
- run_id: str
- state: Literal['new', 'running', 'complete'] | None
- result: Literal['success', 'error'] | None
- data: dict[str, Any]
- model_config = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].