fix: add type ignore comments for shared_task imports and clean up re… (#12099)

Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
-LAN- 2024-12-25 21:24:06 +08:00 committed by GitHub
commit d5f33212ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 7 additions and 8 deletions

View file

@ -2,7 +2,7 @@ import logging
import time
import click
from celery import shared_task
from celery import shared_task # type: ignore
from core.rag.index_processor.index_processor_factory import IndexProcessorFactory
from core.tools.utils.web_reader_tool import get_image_upload_file_ids