Module API.main
Variables
ENABLE_CUSTOM_EXPORTS
ENABLE_HDX_EXPORTS
ENABLE_METRICS_APIS
ENABLE_POLYGON_STATISTICS_ENDPOINTS
EXPORT_PATH
LOG_LEVEL
SENTRY_DSN
SENTRY_RATE
USE_CONNECTION_POOLING
USE_S3_TO_UPLOAD
app
origins
Functions
add_process_time_header
def add_process_time_header(
request,
call_next
)
Args: request (type): description call_next (type): description
Returns: header with process time
on_shutdown
def on_shutdown(
)
on_startup
def on_startup(
)
Raises: e: if connection is rejected to database