Skip to content

Base task event schema

BaseTaskEventSchema

Bases: BaseEventSchema

Source code in griptape/griptape/schemas/events/base_task_event_schema.py
class BaseTaskEventSchema(BaseEventSchema):
    task_id = fields.Str()
    task_parent_ids = fields.List(fields.Str())
    task_child_ids = fields.List(fields.Str())
    task_input = fields.Nested(PolymorphicSchema())
    task_output = fields.Nested(PolymorphicSchema())

task_child_ids = fields.List(fields.Str()) class-attribute instance-attribute

task_id = fields.Str() class-attribute instance-attribute

task_input = fields.Nested(PolymorphicSchema()) class-attribute instance-attribute

task_output = fields.Nested(PolymorphicSchema()) class-attribute instance-attribute

task_parent_ids = fields.List(fields.Str()) class-attribute instance-attribute