Skip to content

Module API.custom_exports

Variables

DEFAULT_QUEUE_NAME
RATE_LIMIT_PER_MIN
router

Functions

process_custom_requests

def process_custom_requests(
    request: starlette.requests.Request,
    user: API.auth.AuthUser = Depends(staff_required),
    params: src.validation.models.DynamicCategoriesModel = Body(PydanticUndefined)
)
Process data based on dynamic categories, Fully flexible on filtering and select

Args: request: FastAPI Request object. params (DynamicCategoriesModel): Input parameters including ISO3 country code and dynamic categories.

Returns: dict: Result message.

process_custom_requests_yaml

def process_custom_requests_yaml(
    request: starlette.requests.Request,
    user: API.auth.AuthUser = Depends(staff_required)
)