server.web.routes.v3.fsm.task_template
Routes for TaskTemplates.
Attributes
Functions
|
Add a task template for a given tool to the database. |
|
Get the task_template_version. |
|
Add a task_template_version safely using injected DB session. |
Get the task_template_id for a given task_template_version_id. |
Module Contents
- server.web.routes.v3.fsm.task_template.logger
- async server.web.routes.v3.fsm.task_template.get_task_template(request: fastapi.Request, db: sqlalchemy.orm.Session = Depends(get_db)) Any
Add a task template for a given tool to the database.
- server.web.routes.v3.fsm.task_template.get_task_template_versions(task_template_id: int, db: sqlalchemy.orm.Session = Depends(get_db)) Any
Get the task_template_version.