root_get_datastores

List Datastores

Functions

async pydelfini.delfini_core.api.general.root_get_datastores.asyncio(*, client)[source]

List Datastores

List the datastores available for users to save files to, along with some useful metrics.

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

Parameters:

client (AuthenticatedClient | Client)

Return type:

RootGetDatastoresResponse200

async pydelfini.delfini_core.api.general.root_get_datastores.asyncio_detailed(*, client)[source]

List Datastores

List the datastores available for users to save files to, along with some useful metrics.

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

Parameters:

client (AuthenticatedClient | Client)

Return type:

Response[RootGetDatastoresResponse200 | ServerError]

pydelfini.delfini_core.api.general.root_get_datastores.sync(*, client)[source]

List Datastores

List the datastores available for users to save files to, along with some useful metrics.

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

Parameters:

client (AuthenticatedClient | Client)

Return type:

RootGetDatastoresResponse200

pydelfini.delfini_core.api.general.root_get_datastores.sync_detailed(*, client)[source]

List Datastores

List the datastores available for users to save files to, along with some useful metrics.

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

Parameters:

client (AuthenticatedClient | Client)

Return type:

Response[RootGetDatastoresResponse200 | ServerError]