chore: apply static type checks on celery async task dispatches and imports (#24418)
Some checks are pending
autofix.ci / autofix (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions

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,7 +8,7 @@ improving performance by offloading storage operations to background workers.
import json
import logging
from celery import shared_task # type: ignore[import-untyped]
from celery import shared_task
from sqlalchemy import select
from sqlalchemy.orm import sessionmaker