Skip to content

Commit a093ada

Browse files
author
Ilyas Gasanov
committed
[DOP-21799] Refactor celery initialization
1 parent 29d7d23 commit a093ada

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

syncmaster/backend/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# SPDX-FileCopyrightText: 2023-2024 MTS PJSC
22
# SPDX-License-Identifier: Apache-2.0
3-
from celery import Celery
43
from fastapi import FastAPI, HTTPException
54
from fastapi.exceptions import RequestValidationError
65
from pydantic import ValidationError
@@ -19,7 +18,6 @@
1918
from syncmaster.backend.settings import ServerAppSettings as Settings
2019
from syncmaster.db.factory import create_session_factory, get_uow
2120
from syncmaster.exceptions import SyncmasterError
22-
from syncmaster.worker import celery_factory
2321

2422

2523
def application_factory(settings: Settings) -> FastAPI:

0 commit comments

Comments
 (0)