Skip to content

Commit

Permalink
[DOP-21799] Refactor celery initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilyas Gasanov committed Dec 10, 2024
1 parent 29d7d23 commit a093ada
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions syncmaster/backend/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# SPDX-FileCopyrightText: 2023-2024 MTS PJSC
# SPDX-License-Identifier: Apache-2.0
from celery import Celery
from fastapi import FastAPI, HTTPException
from fastapi.exceptions import RequestValidationError
from pydantic import ValidationError
Expand All @@ -19,7 +18,6 @@
from syncmaster.backend.settings import ServerAppSettings as Settings
from syncmaster.db.factory import create_session_factory, get_uow
from syncmaster.exceptions import SyncmasterError
from syncmaster.worker import celery_factory


def application_factory(settings: Settings) -> FastAPI:
Expand Down

0 comments on commit a093ada

Please sign in to comment.