File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
services/storage/src/simcore_service_storage Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import logging
22
3- from celery import Celery
3+ from celery import Celery # type: ignore[import-untyped]
44from servicelib .logging_utils import log_context
55
66from ...modules .celery ._celery_types import register_celery_types
Original file line number Diff line number Diff line change 1818 setup_prometheus_instrumentation ,
1919)
2020from servicelib .fastapi .tracing import initialize_tracing
21- from simcore_service_storage .modules .celery import setup_celery_client
2221from starlette .middleware .base import BaseHTTPMiddleware
2322
2423from .._meta import (
3433from ..dsm import setup_dsm
3534from ..dsm_cleaner import setup_dsm_cleaner
3635from ..exceptions .handlers import set_exception_handlers
36+ from ..modules .celery import setup_celery_client
3737from ..modules .db import setup_db
3838from ..modules .long_running_tasks import setup_rest_api_long_running_tasks_for_uploads
3939from ..modules .rabbitmq import setup as setup_rabbitmq
5454_logger = logging .getLogger (__name__ )
5555
5656
57- def create_app (settings : ApplicationSettings ) -> FastAPI :
57+ def create_app (settings : ApplicationSettings ) -> FastAPI : # noqa: C901
5858 # keep mostly quiet noisy loggers
5959 quiet_level : int = max (
6060 min (logging .root .level + _LOG_LEVEL_STEP , logging .CRITICAL ), logging .WARNING
You can’t perform that action at this time.
0 commit comments