Skip to content

filter

stac_fastapi.pgstac.extensions.filter

Get Queryables.

FiltersClient

Bases: AsyncBaseFiltersClient

Defines a pattern for implementing the STAC filter extension.

get_queryables async

get_queryables(
    request: Request, collection_id: Optional[str] = None, **kwargs: Any
) -> Dict[str, Any]

Get the queryables available for the given collection_id.

If collection_id is None, returns the intersection of all queryables over all collections. This base implementation returns a blank queryable schema. This is not allowed under OGC CQL but it is allowed by the STAC API Filter Extension github.com/radiantearth/stac-api-spec/tree/master/fragments/filter#queryables