event to functon handler completed
This commit is contained in:
@@ -37,7 +37,7 @@ class DecisionBookBudgetBooks(CrudCollection):
|
||||
Index(
|
||||
"_decision_book_budget_companies_book_ndx_00",
|
||||
company_id,
|
||||
CrudCollection.created_at,
|
||||
"created_at",
|
||||
),
|
||||
{"comment": "budget Book Information"},
|
||||
)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
from fastapi.exceptions import HTTPException
|
||||
|
||||
|
||||
from sqlalchemy import (
|
||||
String,
|
||||
Integer,
|
||||
@@ -13,13 +11,13 @@ from sqlalchemy import (
|
||||
)
|
||||
from sqlalchemy.orm import mapped_column, relationship, Mapped
|
||||
|
||||
# from databases.extensions import SelectAction
|
||||
from ApiLibrary.extensions.select import SelectAction
|
||||
from ApiValidations.Custom.token_objects import EmployeeTokenObject
|
||||
from ApiValidations.Request import (
|
||||
InsertCompany,
|
||||
UpdateCompany,
|
||||
MatchCompany2Company,
|
||||
)
|
||||
from api_objects.auth.token_objects import EmployeeTokenObject
|
||||
from LanguageModels.Database.company.company import (
|
||||
RelationshipDutyCompanyLanguageModel,
|
||||
CompaniesLanguageModel,
|
||||
|
||||
@@ -18,6 +18,7 @@ from sqlalchemy.orm import mapped_column, relationship, Mapped
|
||||
|
||||
from ApiLibrary.date_time_actions.date_functions import system_arrow
|
||||
from AllConfigs.Token.config import Auth, ApiStatic
|
||||
from ApiLibrary.extensions.select import SelectAction, SelectActionWithEmployee
|
||||
|
||||
from Services.PostgresDb import CrudCollection
|
||||
|
||||
@@ -64,6 +65,10 @@ class UsersTokens(CrudCollection):
|
||||
# users = relationship("Users", back_populates="tokens", foreign_keys=[user_id])
|
||||
|
||||
|
||||
class UserLoginModule:
|
||||
pass
|
||||
|
||||
|
||||
class Users(CrudCollection, UserLoginModule, SelectAction):
|
||||
"""
|
||||
Application User frame to connect to API with assigned token-based HTTP connection
|
||||
|
||||
@@ -101,6 +101,3 @@ class ApiEnumDropdown(CrudCollection):
|
||||
None,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
ApiEnumDropdown.set_session(ApiEnumDropdown.__session__)
|
||||
|
||||
Reference in New Issue
Block a user