updated services api

This commit is contained in:
2025-06-03 21:43:39 +03:00
parent 3055b2bde7
commit 1c0bb741a0
49 changed files with 2192 additions and 133 deletions

View File

@@ -6,8 +6,8 @@ from sqlalchemy import pool
from sqlalchemy import create_engine
from alembic import context
from schemas import *
from api_controllers.postgres.engine import Base
from Schemas import *
from Controllers.Postgres.engine import Base
# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.

View File

@@ -1,4 +1,4 @@
from schemas import (
from Schemas import (
Addresses,
AddressCity,
AddressStreet,

View File

@@ -1,8 +1,8 @@
import arrow
from api_modules.token.password_module import PasswordModule
from api_controllers.mongo.database import mongo_handler
from schemas import (
from Extensions.Token.password_module import PasswordModule
from Controllers.Mongo.database import mongo_handler
from Schemas import (
Companies,
Departments,
Duty,

View File

@@ -1,5 +1,5 @@
from pydantic import BaseModel
from schemas import BuildTypes, ApiEnumDropdown
from Schemas import BuildTypes, ApiEnumDropdown
class InsertBuildTypes(BaseModel):

View File

@@ -1,7 +1,7 @@
import arrow
from api_modules.token.password_module import PasswordModule
from api_controllers.mongo.database import mongo_handler
from schemas import (
from Extensions.Token.password_module import PasswordModule
from Controllers.Mongo.database import mongo_handler
from Schemas import (
Addresses,
BuildLivingSpace,
Users,

View File

@@ -1,4 +1,4 @@
from schemas import OccupantTypes
from Schemas import OccupantTypes
def create_occupant_types_defaults(db_session):

View File

@@ -1,4 +1,4 @@
from schemas import (
from Schemas import (
Duty,
OccupantTypes,
Modules,