Generic Task Operations¶
Generic task operations.
- async shared.database.operations.generic_task.create_task(task_type, data, status='pending', result=None)[source]¶
Create a generic task.
- async shared.database.operations.generic_task.list_completed_tasks_since(last_id)[source]¶
List completed tasks since last ID.
- async shared.database.operations.generic_task.mark_task_completed(task_id, result_text)[source]¶
Mark task as completed.