collections_archives_get_archive_data¶
Download a built collection archive
Functions
- async pydelfini.delfini_core.api.collections.collections_archives_get_archive_data.asyncio(collection_id, version_id, archive_id, *, client)[source]¶
Download a built collection archive
Streams the ZIP file. Supports single-range requests, so an interrupted download can be resumed.
- Parameters:
collection_id (str)
version_id (str)
archive_id (str)
client (AuthenticatedClient)
- 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[File]
- Return type:
- async pydelfini.delfini_core.api.collections.collections_archives_get_archive_data.asyncio_detailed(collection_id, version_id, archive_id, *, client)[source]¶
Download a built collection archive
Streams the ZIP file. Supports single-range requests, so an interrupted download can be resumed.
- Parameters:
collection_id (str)
version_id (str)
archive_id (str)
client (AuthenticatedClient)
- 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[File, ServerError]]
- Return type:
- pydelfini.delfini_core.api.collections.collections_archives_get_archive_data.sync(collection_id, version_id, archive_id, *, client)[source]¶
Download a built collection archive
Streams the ZIP file. Supports single-range requests, so an interrupted download can be resumed.
- Parameters:
collection_id (str)
version_id (str)
archive_id (str)
client (AuthenticatedClient)
- 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[File]
- Return type:
- pydelfini.delfini_core.api.collections.collections_archives_get_archive_data.sync_detailed(collection_id, version_id, archive_id, *, client)[source]¶
Download a built collection archive
Streams the ZIP file. Supports single-range requests, so an interrupted download can be resumed.
- Parameters:
collection_id (str)
version_id (str)
archive_id (str)
client (AuthenticatedClient)
- 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[File, ServerError]]
- Return type: