highing666 2 роки тому
батько
коміт
7d2a93899c
3 змінених файлів з 14 додано та 17 видалено
  1. 3 3
      app/models/domain/devices.py
  2. 1 1
      docker-compose.yml
  3. 10 13
      pyproject.toml

+ 3 - 3
app/models/domain/devices.py

@@ -1,13 +1,13 @@
 from enum import Enum
-from typing import Dict, List, Optional
+from typing import List, Optional
 
 from pydantic import BaseModel, Field
 
 from app.controllers.equipment.switch import SwitchSet
 from app.models.domain.feedback import FeedbackValue
-from app.schemas.season import Season
-from app.schemas.equipment import VRFMode
 from app.schemas.equipment import ASHP
+from app.schemas.equipment import VRFMode
+from app.schemas.season import Season
 
 
 class ThermalMode(str, Enum):

+ 1 - 1
docker-compose.yml

@@ -2,7 +2,7 @@ version: "3"
 
 services:
   app:
-      image: registry.persagy.com/sagacloud/saga_algo_api:0.4.14
+      image: registry.persagy.com/sagacloud/saga_algo_api:0.4.15
       container_name: saga_algo_api
       ports:
         - "8002:8002"

+ 10 - 13
pyproject.toml

@@ -7,22 +7,19 @@ license = "Apache-2.0"
 
 [tool.poetry.dependencies]
 python = "^3.9"
-Cython = "^0.29.29"
-pandas = "1.4.2"
-grpcio = "1.37.1"
-fastapi = "^0.78.0"
+fastapi = "^0.79.0"
 python-dotenv = "^0.20.0"
-uvicorn = "^0.17.6"
+uvicorn = "^0.18.2"
 psycopg2-binary = "^2.9.3"
-SQLAlchemy = "^1.4.36"
-redis = "^4.3.1"
+SQLAlchemy = "^1.4.39"
+redis = "^4.3.4"
 arrow = "^1.2.2"
 loguru = "^0.6.0"
-httpx = "^0.22.0"
-scikit-learn = "^1.1.0"
-
-tencentcloud-sdk-python = "^3.0.635"
-pymilvus = "^2.0.2"
+httpx = "^0.23.0"
+scikit-learn = "^1.1.1"
+tencentcloud-sdk-python = "^3.0.686"
+protobuf = "^3.20.0"
+pymilvus = "^2.1.0"
 
 [tool.poetry.dev-dependencies]
 pylint = "^2.13.4"
@@ -30,5 +27,5 @@ flake8 = "^4.0.1"
 black = "^22.3.0"
 
 [build-system]
-requires = ["poetry-core>=1.0.0"]
+requires = ["poetry-core>=1.1.14"]
 build-backend = "poetry.core.masonry.api"