chore: apply static type checks on celery async task dispatches and imports (#24418)
This commit is contained in:
parent
b5159d8c8a
commit
d8000251ff
48 changed files with 101 additions and 75 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue