schemas updated
This commit is contained in:
@@ -21,8 +21,8 @@ from sqlalchemy.orm import Query
|
||||
|
||||
from ApiValidations.Request.base_validations import PydanticBaseModel
|
||||
from ApiValidations.handler import BaseModelRegular
|
||||
from Services.Postgres.Models.response import PostgresResponse
|
||||
from ErrorHandlers.ApiErrorHandlers.api_exc_handler import HTTPExceptionApi
|
||||
from Services.PostgresDb.Models.response import PostgresResponse
|
||||
from ErrorHandlers.ErrorHandlers.api_exc_handler import HTTPExceptionApi
|
||||
|
||||
T = TypeVar("T")
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from contextlib import contextmanager
|
||||
from typing import Any, Dict, Optional, Generator
|
||||
from fastapi import HTTPException, status
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ from sqlalchemy.orm import Query, Session
|
||||
from sqlalchemy.sql.elements import BinaryExpression
|
||||
|
||||
from ApiLibrary import system_arrow
|
||||
from ErrorHandlers.ApiErrorHandlers import HTTPExceptionApi
|
||||
from ErrorHandlers.Exceptions.api_exc import HTTPExceptionApi
|
||||
from Services.PostgresDb.Models.response import PostgresResponse
|
||||
|
||||
# Type variable for class methods returning self
|
||||
|
||||
@@ -10,8 +10,8 @@ from typing import Optional, List
|
||||
from sqlalchemy import String, Integer
|
||||
from sqlalchemy.orm import Mapped, mapped_column
|
||||
|
||||
from Services.Postgres.Models.my_base_model import CrudCollection
|
||||
from Services.Postgres.database import get_db
|
||||
from Services.PostgresDb import CrudCollection
|
||||
from Services.PostgresDb.database import get_db
|
||||
|
||||
|
||||
# Example Model Definition
|
||||
|
||||
@@ -31,7 +31,7 @@ from sqlalchemy_mixins.repr import ReprMixin
|
||||
from sqlalchemy_mixins.smartquery import SmartQueryMixin
|
||||
|
||||
from ApiLibrary import DateTimeLocal, system_arrow
|
||||
from Services.Postgres.database import Base
|
||||
from Services.PostgresDb.database import Base
|
||||
from Services.PostgresDb.Models.filter_functions import FilterAttributes
|
||||
|
||||
# Type variable for class methods returning self
|
||||
|
||||
Reference in New Issue
Block a user