chore: apply static type checks on celery async task dispatches and imports (#24418)

This commit is contained in:
Bowen Liang
2025-08-24 23:07:22 +08:00
committed by GitHub
parent b5159d8c8a
commit d8000251ff
48 changed files with 101 additions and 75 deletions

View File

@@ -8,4 +8,6 @@ def handle(sender, **kwargs):
dataset_id = kwargs.get("dataset_id")
doc_form = kwargs.get("doc_form")
file_id = kwargs.get("file_id")
assert dataset_id is not None
assert doc_form is not None
clean_document_task.delay(document_id, dataset_id, doc_form, file_id)