collections_items_get_item_data

Retrieve the contents of an item

Functions

async pydelfini.delfini_core.api.items.collections_items_get_item_data.asyncio(collection_id, version_id, item_id, *, client, dl=Unset)[source]

Retrieve the contents of an item

Retrieve the body of an item.

Not valid on folders.

For dataviews, this method retrieves the dataview’s definition code.

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.items.collections_items_get_item_data.asyncio_detailed(collection_id, version_id, item_id, *, client, dl=Unset)[source]

Retrieve the contents of an item

Retrieve the body of an item.

Not valid on folders.

For dataviews, this method retrieves the dataview’s definition code.

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.items.collections_items_get_item_data.sync(collection_id, version_id, item_id, *, client, dl=Unset)[source]

Retrieve the contents of an item

Retrieve the body of an item.

Not valid on folders.

For dataviews, this method retrieves the dataview’s definition code.

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.items.collections_items_get_item_data.sync_detailed(collection_id, version_id, item_id, *, client, dl=Unset)[source]

Retrieve the contents of an item

Retrieve the body of an item.

Not valid on folders.

For dataviews, this method retrieves the dataview’s definition code.

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]