collections_tables_get_export_data

Download a built table export

Functions

async pydelfini.delfini_core.api.tables.collections_tables_get_export_data.asyncio(collection_id, version_id, table_name, export_id, *, client)[source]

Download a built table export

Streams the exported file with a Content-Disposition naming it after the item. Supports single-range requests, so an interrupted download can be resumed.

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

Return type:

File

async pydelfini.delfini_core.api.tables.collections_tables_get_export_data.asyncio_detailed(collection_id, version_id, table_name, export_id, *, client)[source]

Download a built table export

Streams the exported file with a Content-Disposition naming it after the item. Supports single-range requests, so an interrupted download can be resumed.

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

Return type:

Response[File | ServerError]

pydelfini.delfini_core.api.tables.collections_tables_get_export_data.sync(collection_id, version_id, table_name, export_id, *, client)[source]

Download a built table export

Streams the exported file with a Content-Disposition naming it after the item. Supports single-range requests, so an interrupted download can be resumed.

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

Return type:

File

pydelfini.delfini_core.api.tables.collections_tables_get_export_data.sync_detailed(collection_id, version_id, table_name, export_id, *, client)[source]

Download a built table export

Streams the exported file with a Content-Disposition naming it after the item. Supports single-range requests, so an interrupted download can be resumed.

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

Return type:

Response[File | ServerError]