version_info

Get API version

Functions

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

Get API version

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

Parameters:

client (AuthenticatedClient | Client)

Return type:

VersionInfoResponse200

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

Get API version

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

Parameters:

client (AuthenticatedClient | Client)

Return type:

Response[ServerError | VersionInfoResponse200]

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

Get API version

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

Parameters:

client (AuthenticatedClient | Client)

Return type:

VersionInfoResponse200

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

Get API version

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

Parameters:

client (AuthenticatedClient | Client)

Return type:

Response[ServerError | VersionInfoResponse200]