Skip to content

Module stac_fastapi.core.route_dependencies

Route Dependencies Module.

Variables

route_dependencies_schema

Functions

get_dependencies

def get_dependencies(
    route_dependency_conf: dict
) -> list

Get dependencies from route dependency configuration.

get_route_dependencies

def get_route_dependencies(
    route_dependencies_env: str = ''
) -> list

Route dependencies generator.

Generate a set of route dependencies for authentication to the provided FastAPI application.

get_route_dependencies_conf

def get_route_dependencies_conf(
    route_dependencies_env: str
) -> list

Get Route dependencies configuration from file or environment variable.

get_routes

def get_routes(
    route_dependency_conf: dict
) -> list

Get routes from route dependency configuration.