From c44a724a0567a01c944331b7f54d62325c31aa79 Mon Sep 17 00:00:00 2001 From: Berkay Date: Fri, 30 May 2025 14:45:59 +0300 Subject: [PATCH] updated schemas --- ServicesApi/Schemas/account/account.py | 2 +- ServicesApi/Schemas/account/iban.py | 2 +- ServicesApi/Schemas/address/address.py | 2 +- ServicesApi/Schemas/base_imports.py | 2 +- ServicesApi/Schemas/building/budget.py | 2 +- ServicesApi/Schemas/building/build.py | 3 ++- ServicesApi/Schemas/building/decision_book.py | 3 ++- ServicesApi/Schemas/company/company.py | 2 +- ServicesApi/Schemas/company/department.py | 2 +- ServicesApi/Schemas/company/employee.py | 2 +- ServicesApi/Schemas/event/event.py | 2 +- ServicesApi/Schemas/identity/identity.py | 2 +- ServicesApi/Schemas/others/enums.py | 2 +- ServicesApi/Schemas/rules/rules.py | 2 +- 14 files changed, 16 insertions(+), 14 deletions(-) diff --git a/ServicesApi/Schemas/account/account.py b/ServicesApi/Schemas/account/account.py index 22d60f5..9928a6f 100644 --- a/ServicesApi/Schemas/account/account.py +++ b/ServicesApi/Schemas/account/account.py @@ -1,4 +1,4 @@ -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, String, Integer, diff --git a/ServicesApi/Schemas/account/iban.py b/ServicesApi/Schemas/account/iban.py index 124512a..09b8fdf 100644 --- a/ServicesApi/Schemas/account/iban.py +++ b/ServicesApi/Schemas/account/iban.py @@ -1,4 +1,4 @@ -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, String, Integer, diff --git a/ServicesApi/Schemas/address/address.py b/ServicesApi/Schemas/address/address.py index 6af5809..c1f5b8a 100644 --- a/ServicesApi/Schemas/address/address.py +++ b/ServicesApi/Schemas/address/address.py @@ -1,4 +1,4 @@ -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, String, Integer, diff --git a/ServicesApi/Schemas/base_imports.py b/ServicesApi/Schemas/base_imports.py index 53b6d1d..2797581 100644 --- a/ServicesApi/Schemas/base_imports.py +++ b/ServicesApi/Schemas/base_imports.py @@ -1,4 +1,4 @@ -from api_controllers.postgres.mixin import CrudCollection +from ApiControllers.postgres.mixin import CrudCollection from sqlalchemy.orm import mapped_column, Mapped, relationship from sqlalchemy import ( String, diff --git a/ServicesApi/Schemas/building/budget.py b/ServicesApi/Schemas/building/budget.py index 7b082f7..fbe007d 100644 --- a/ServicesApi/Schemas/building/budget.py +++ b/ServicesApi/Schemas/building/budget.py @@ -1,4 +1,4 @@ -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, String, ForeignKey, diff --git a/ServicesApi/Schemas/building/build.py b/ServicesApi/Schemas/building/build.py index 85a9c6a..9fd3eb0 100644 --- a/ServicesApi/Schemas/building/build.py +++ b/ServicesApi/Schemas/building/build.py @@ -1,7 +1,8 @@ import arrow from datetime import timedelta from typing import List, Union, Any -from schemas.base_imports import ( + +from Schemas.base_imports import ( CrudCollection, mapped_column, Mapped, diff --git a/ServicesApi/Schemas/building/decision_book.py b/ServicesApi/Schemas/building/decision_book.py index ed0f706..2030600 100644 --- a/ServicesApi/Schemas/building/decision_book.py +++ b/ServicesApi/Schemas/building/decision_book.py @@ -1,11 +1,12 @@ import math import arrow + from datetime import datetime, timedelta from decimal import Decimal from typing import List, Any from fastapi import HTTPException, status -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, String, ForeignKey, diff --git a/ServicesApi/Schemas/company/company.py b/ServicesApi/Schemas/company/company.py index 6f99f4b..14f53d4 100644 --- a/ServicesApi/Schemas/company/company.py +++ b/ServicesApi/Schemas/company/company.py @@ -1,5 +1,5 @@ from typing import Any -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, String, Integer, diff --git a/ServicesApi/Schemas/company/department.py b/ServicesApi/Schemas/company/department.py index ffe7fd4..f4528de 100644 --- a/ServicesApi/Schemas/company/department.py +++ b/ServicesApi/Schemas/company/department.py @@ -1,4 +1,4 @@ -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, String, Integer, diff --git a/ServicesApi/Schemas/company/employee.py b/ServicesApi/Schemas/company/employee.py index de9f3e1..c12eb94 100644 --- a/ServicesApi/Schemas/company/employee.py +++ b/ServicesApi/Schemas/company/employee.py @@ -1,4 +1,4 @@ -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, String, Integer, diff --git a/ServicesApi/Schemas/event/event.py b/ServicesApi/Schemas/event/event.py index 932622c..ec3f63e 100644 --- a/ServicesApi/Schemas/event/event.py +++ b/ServicesApi/Schemas/event/event.py @@ -1,4 +1,4 @@ -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, String, Integer, diff --git a/ServicesApi/Schemas/identity/identity.py b/ServicesApi/Schemas/identity/identity.py index f78075e..0e1d868 100644 --- a/ServicesApi/Schemas/identity/identity.py +++ b/ServicesApi/Schemas/identity/identity.py @@ -1,5 +1,5 @@ import arrow -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, String, Integer, diff --git a/ServicesApi/Schemas/others/enums.py b/ServicesApi/Schemas/others/enums.py index 8ff5294..1f43f6d 100644 --- a/ServicesApi/Schemas/others/enums.py +++ b/ServicesApi/Schemas/others/enums.py @@ -1,4 +1,4 @@ -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, UUID, String, diff --git a/ServicesApi/Schemas/rules/rules.py b/ServicesApi/Schemas/rules/rules.py index f1cf8b1..8c3db62 100644 --- a/ServicesApi/Schemas/rules/rules.py +++ b/ServicesApi/Schemas/rules/rules.py @@ -1,4 +1,4 @@ -from schemas.base_imports import ( +from Schemas.base_imports import ( CrudCollection, UUID, String,