admin_tasks_stats

Get statistics from the task system

Functions

async pydelfini.delfini_core.api.admin.admin_tasks_stats.asyncio(*, client)[source]

Get statistics from the task system

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

Parameters:

client (AuthenticatedClient)

Return type:

TasksStats

async pydelfini.delfini_core.api.admin.admin_tasks_stats.asyncio_detailed(*, client)[source]

Get statistics from the task system

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, TasksStats]]

Parameters:

client (AuthenticatedClient)

Return type:

Response[ServerError | TasksStats]

pydelfini.delfini_core.api.admin.admin_tasks_stats.sync(*, client)[source]

Get statistics from the task system

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

Parameters:

client (AuthenticatedClient)

Return type:

TasksStats

pydelfini.delfini_core.api.admin.admin_tasks_stats.sync_detailed(*, client)[source]

Get statistics from the task system

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, TasksStats]]

Parameters:

client (AuthenticatedClient)

Return type:

Response[ServerError | TasksStats]