collections_get_collection_version

Get metadata on the collection

Functions

async pydelfini.delfini_core.api.collections.collections_get_collection_version.asyncio(collection_id, version_id, *, client)[source]

Get metadata on the collection

Retrieve the full set of metadata for the given collection version.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[FederationCollection]

Return type:

FederationCollection

async pydelfini.delfini_core.api.collections.collections_get_collection_version.asyncio_detailed(collection_id, version_id, *, client)[source]

Get metadata on the collection

Retrieve the full set of metadata for the given collection version.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Union[FederationCollection, ServerError]]

Return type:

Response[FederationCollection | ServerError]

pydelfini.delfini_core.api.collections.collections_get_collection_version.sync(collection_id, version_id, *, client)[source]

Get metadata on the collection

Retrieve the full set of metadata for the given collection version.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[FederationCollection]

Return type:

FederationCollection

pydelfini.delfini_core.api.collections.collections_get_collection_version.sync_detailed(collection_id, version_id, *, client)[source]

Get metadata on the collection

Retrieve the full set of metadata for the given collection version.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Union[FederationCollection, ServerError]]

Return type:

Response[FederationCollection | ServerError]