RestHandler

RestHandler(query_mixin, sources, queries, endpoint_config)

Parameters

query_mixin
QueryMixin
required
Query mixin providing query functionality.
sources
Sequence[RestSource]
required
Sequence of REST sources to handle.
queries
Sequence[RestQuery]
required
Sequence of REST queries to handle.
endpoint_config
RestEndpointConfiguration
required
Configuration for REST endpoints.

Properties

path_to_query_map
Mapping[str, RestQuery]
Mapping from endpoint paths to their corresponding REST queries.
path_to_source_map
Mapping[str, RestSource]
Mapping from endpoint paths to their corresponding REST sources.