account_get_account

Retrieve a single account definition

Functions

async pydelfini.delfini_core.api.account.account_get_account.asyncio(account_id, *, client)[source]

Retrieve a single account definition

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

Return type:

Account

async pydelfini.delfini_core.api.account.account_get_account.asyncio_detailed(account_id, *, client)[source]

Retrieve a single account definition

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

Return type:

Response[Account | ServerError]

pydelfini.delfini_core.api.account.account_get_account.sync(account_id, *, client)[source]

Retrieve a single account definition

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

Return type:

Account

pydelfini.delfini_core.api.account.account_get_account.sync_detailed(account_id, *, client)[source]

Retrieve a single account definition

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

Return type:

Response[Account | ServerError]