events cluster updated with PageInfo
This commit is contained in:
@@ -9,7 +9,9 @@ class CreateRouterFromCluster:
|
||||
self.prefix = kwargs.get("prefix")
|
||||
self.tags = kwargs.get("tags")
|
||||
self.include_in_schema = bool(kwargs.get("include_in_schema", True))
|
||||
self.router = APIRouter(prefix=self.prefix, tags=self.tags, include_in_schema=self.include_in_schema)
|
||||
self.router = APIRouter(
|
||||
prefix=self.prefix, tags=self.tags, include_in_schema=self.include_in_schema
|
||||
)
|
||||
|
||||
|
||||
class CreateEndpointFromCluster:
|
||||
|
||||
@@ -62,6 +62,7 @@ class TokenService:
|
||||
) -> Dict[str, Any]:
|
||||
"""Handle employee login process and return login information."""
|
||||
from ApiLayers.Schemas.identity.identity import UsersTokens, People
|
||||
|
||||
db_session = Employees.new_session()
|
||||
list_employee = Employees.filter_all(
|
||||
Employees.people_id == user.person_id, db=db_session
|
||||
|
||||
Reference in New Issue
Block a user