diff --git a/app/types/scheduler.py b/app/types/scheduler.py index 7f831c907..d41398e8f 100644 --- a/app/types/scheduler.py +++ b/app/types/scheduler.py @@ -9,6 +9,7 @@ from arq.jobs import Job from arq.typing import WorkerSettingsBase from arq.worker import create_worker +from sqlalchemy.ext.asyncio import AsyncSession from app import dependencies from app.types.exceptions import SchedulerNotStartedError @@ -16,7 +17,6 @@ if TYPE_CHECKING: from arq import Worker - from sqlalchemy.ext.asyncio import AsyncSession scheduler_logger = logging.getLogger("scheduler")