From 4f83ecd4a918c548784068f6858cc9ed4bf88699 Mon Sep 17 00:00:00 2001 From: Kye Date: Tue, 18 Jul 2023 17:05:56 -0400 Subject: [PATCH] clean up docker --- api/{ => olds}/container.py | 0 api/{ => olds}/main.py | 4 ++-- api/{ => olds}/worker.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename api/{ => olds}/container.py (100%) rename api/{ => olds}/main.py (95%) rename api/{ => olds}/worker.py (95%) 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__)