collections_get_stats

Get collection summary statistics

Functions

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

Get collection summary statistics

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[CollectionStats]

Return type:

CollectionStats

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

Get collection summary statistics

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[CollectionStats, ServerError]]

Return type:

Response[CollectionStats | ServerError]

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

Get collection summary statistics

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[CollectionStats]

Return type:

CollectionStats

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

Get collection summary statistics

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[CollectionStats, ServerError]]

Return type:

Response[CollectionStats | ServerError]