Skip to content

Module stac_fastapi.extensions.core.collection_search.client

collection-search extensions clients.

Classes

AsyncBaseCollectionSearchClient

class AsyncBaseCollectionSearchClient(

)

Defines a pattern for implementing the STAC collection-search POST extension.

Ancestors (in MRO)

  • abc.ABC

Methods

post_all_collections

def post_all_collections(
    self,
    search_request: stac_fastapi.extensions.core.collection_search.request.BaseCollectionSearchPostRequest,
    **kwargs
) -> stac_fastapi.types.stac.ItemCollection

Get all available collections.

Called with POST /collections.

Returns:

Type Description
None A list of collections.

BaseCollectionSearchClient

class BaseCollectionSearchClient(

)

Defines a pattern for implementing the STAC collection-search POST extension.

Ancestors (in MRO)

  • abc.ABC

Methods

post_all_collections

def post_all_collections(
    self,
    search_request: stac_fastapi.extensions.core.collection_search.request.BaseCollectionSearchPostRequest,
    **kwargs
) -> stac_fastapi.types.stac.ItemCollection

Get all available collections.

Called with POST /collections.

Returns:

Type Description
None A list of collections.