Skip to content

Start task event schema

StartTaskEventSchema

Bases: BaseTaskEventSchema

Source code in griptape/griptape/schemas/events/start_task_event_schema.py
class StartTaskEventSchema(BaseTaskEventSchema):
    @post_load
    def make_obj(self, data, **kwargs):
        from griptape.events import StartTaskEvent

        return StartTaskEvent(**data)

make_obj(data, **kwargs)

Source code in griptape/griptape/schemas/events/start_task_event_schema.py
@post_load
def make_obj(self, data, **kwargs):
    from griptape.events import StartTaskEvent

    return StartTaskEvent(**data)