diff --git a/api/container.py b/api/olds/container.py similarity index 100% rename from api/container.py rename to api/olds/container.py diff --git a/api/main.py b/api/olds/main.py similarity index 95% rename from api/main.py rename to api/olds/main.py index 0f54a674..c2027a9e 100644 --- a/api/main.py +++ b/api/olds/main.py @@ -11,8 +11,8 @@ from fastapi.responses import HTMLResponse from fastapi.staticfiles import StaticFiles from pydantic import BaseModel -from api.container import agent_manager, file_handler, reload_dirs, templates, uploader -from api.worker import get_task_result, start_worker, task_execute +from api.olds.container import agent_manager, file_handler, reload_dirs, templates, uploader +from api.olds.worker import get_task_result, start_worker, task_execute # from env import settings app = FastAPI() diff --git a/api/worker.py b/api/olds/worker.py similarity index 95% rename from api/worker.py rename to api/olds/worker.py index df63d83b..9128928b 100644 --- a/api/worker.py +++ b/api/olds/worker.py @@ -3,7 +3,7 @@ import os from celery import Celery from celery.result import AsyncResult -from api.container import agent_manager +from api.olds.container import agent_manager celery_app = Celery(__name__)