collections_items_put_item_data

Update the contents of an item

Functions

async pydelfini.delfini_core.api.items.collections_items_put_item_data.asyncio(collection_id, version_id, item_id, *, client, body)[source]

Update the contents of an item

Replace the body of an item with new contents.

Not valid on folders or links.

For dataviews, this method updates 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[Any]

Return type:

Any

async pydelfini.delfini_core.api.items.collections_items_put_item_data.asyncio_detailed(collection_id, version_id, item_id, *, client, body)[source]

Update the contents of an item

Replace the body of an item with new contents.

Not valid on folders or links.

For dataviews, this method updates 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[Any, ServerError]]

Return type:

Response[Any | ServerError]

pydelfini.delfini_core.api.items.collections_items_put_item_data.sync(collection_id, version_id, item_id, *, client, body)[source]

Update the contents of an item

Replace the body of an item with new contents.

Not valid on folders or links.

For dataviews, this method updates 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[Any]

Return type:

Any

pydelfini.delfini_core.api.items.collections_items_put_item_data.sync_detailed(collection_id, version_id, item_id, *, client, body)[source]

Update the contents of an item

Replace the body of an item with new contents.

Not valid on folders or links.

For dataviews, this method updates 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[Any, ServerError]]

Return type:

Response[Any | ServerError]