events cluster updated with PageInfo
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
"""
|
||||
Account related API endpoints.
|
||||
"""
|
||||
|
||||
from typing import Any, Dict
|
||||
from fastapi import Request
|
||||
|
||||
from Events.Engine.abstract_class import MethodToEvent
|
||||
from Events.base_request_model import EndpointBaseRequestModel, ContextRetrievers
|
||||
from ApiLayers.Middleware.token_event_middleware import TokenEventMiddleware
|
||||
from ApiLayers.ApiValidations.Response.default_response import EndpointSuccessListResponse
|
||||
from ApiLayers.ApiValidations.Response.default_response import (
|
||||
EndpointSuccessListResponse,
|
||||
)
|
||||
|
||||
from .function_handlers import AccountListEventMethods
|
||||
from .api_events import SuperUserAccountEvents
|
||||
@@ -46,9 +49,7 @@ def account_list_event_endpoint(
|
||||
)
|
||||
|
||||
|
||||
AccountRecordsListEventMethods.endpoint_callable = (
|
||||
account_list_event_endpoint
|
||||
)
|
||||
AccountRecordsListEventMethods.endpoint_callable = account_list_event_endpoint
|
||||
|
||||
|
||||
AccountRecordsCreateEventMethods = MethodToEvent(
|
||||
@@ -84,9 +85,7 @@ def account_create_event_endpoint(
|
||||
)
|
||||
|
||||
|
||||
AccountRecordsCreateEventMethods.endpoint_callable = (
|
||||
account_create_event_endpoint
|
||||
)
|
||||
AccountRecordsCreateEventMethods.endpoint_callable = account_create_event_endpoint
|
||||
|
||||
|
||||
AccountRecordsUpdateEventMethods = MethodToEvent(
|
||||
@@ -122,7 +121,4 @@ def account_update_event_endpoint(
|
||||
)
|
||||
|
||||
|
||||
AccountRecordsUpdateEventMethods.endpoint_callable = (
|
||||
account_update_event_endpoint
|
||||
)
|
||||
|
||||
AccountRecordsUpdateEventMethods.endpoint_callable = account_update_event_endpoint
|
||||
|
||||
Reference in New Issue
Block a user