collections_dictionaries_create_a_new_data_element¶
Create a new data element in a data dictionary
Functions
- async pydelfini.delfini_core.api.data_dictionaries.collections_dictionaries_create_a_new_data_element.asyncio(collection_id, version_id, item_id, *, client, body)[source]¶
Create a new data element in a data dictionary
TODO
- Parameters:
collection_id (str)
version_id (str)
item_id (str)
body (NewDataElement) – Delfini Data Element
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[DataElement]
- Return type:
- async pydelfini.delfini_core.api.data_dictionaries.collections_dictionaries_create_a_new_data_element.asyncio_detailed(collection_id, version_id, item_id, *, client, body)[source]¶
Create a new data element in a data dictionary
TODO
- Parameters:
collection_id (str)
version_id (str)
item_id (str)
body (NewDataElement) – Delfini Data Element
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[DataElement, ServerError]]
- Return type:
- pydelfini.delfini_core.api.data_dictionaries.collections_dictionaries_create_a_new_data_element.sync(collection_id, version_id, item_id, *, client, body)[source]¶
Create a new data element in a data dictionary
TODO
- Parameters:
collection_id (str)
version_id (str)
item_id (str)
body (NewDataElement) – Delfini Data Element
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[DataElement]
- Return type:
- pydelfini.delfini_core.api.data_dictionaries.collections_dictionaries_create_a_new_data_element.sync_detailed(collection_id, version_id, item_id, *, client, body)[source]¶
Create a new data element in a data dictionary
TODO
- Parameters:
collection_id (str)
version_id (str)
item_id (str)
body (NewDataElement) – Delfini Data Element
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[DataElement, ServerError]]
- Return type: