Skip to content

Module stac_fastapi.pgstac.extensions.filter

Get Queryables.

Classes

FiltersClient

class FiltersClient(

)

Defines a pattern for implementing the STAC filter extension.

Ancestors (in MRO)

  • stac_fastapi.extensions.core.filter.client.AsyncBaseFiltersClient
  • abc.ABC

Methods

get_queryables

def get_queryables(
    self,
    request: starlette.requests.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