cdes_get_data_element_latest

Retrieve the latest version of a data element from a CDE set

Functions

async pydelfini.delfini_core.api.cde.cdes_get_data_element_latest.asyncio(cdeset_name, element_id, *, client)[source]

Retrieve the latest version of a data element from a CDE set

TODO

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

Return type:

DataElement

async pydelfini.delfini_core.api.cde.cdes_get_data_element_latest.asyncio_detailed(cdeset_name, element_id, *, client)[source]

Retrieve the latest version of a data element from a CDE set

TODO

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

Return type:

Response[DataElement | ServerError]

pydelfini.delfini_core.api.cde.cdes_get_data_element_latest.sync(cdeset_name, element_id, *, client)[source]

Retrieve the latest version of a data element from a CDE set

TODO

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

Return type:

DataElement

pydelfini.delfini_core.api.cde.cdes_get_data_element_latest.sync_detailed(cdeset_name, element_id, *, client)[source]

Retrieve the latest version of a data element from a CDE set

TODO

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

Return type:

Response[DataElement | ServerError]