Skip to content

routing

titiler.core.routing

Custom routing classes.

EndpointScope

Bases: TypedDict

Define endpoint.

add_route_dependencies

add_route_dependencies(
    routes: list[BaseRoute], *, scopes: list[EndpointScope], dependencies=list[Depends]
)

Add dependencies to routes.

Allows a developer to add dependencies to a route after the route has been defined.