Commit 2790cf4c authored by crazywoola's avatar crazywoola

feat: add an api to get error tasks

parent 2597ae78
...@@ -15,6 +15,7 @@ from models.dataset import ( ...@@ -15,6 +15,7 @@ from models.dataset import (
DocumentSegment, DocumentSegment,
) )
# Add import statement for ValueError # Add import statement for ValueError
@shared_task(queue='dataset') @shared_task(queue='dataset')
def clean_dataset_task(dataset_id: str, tenant_id: str, indexing_technique: str, def clean_dataset_task(dataset_id: str, tenant_id: str, indexing_technique: str,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment