admin_users_stats

Get user counts for the admin console

Functions

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

Get user counts for the admin console

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

Parameters:

client (AuthenticatedClient)

Return type:

UserStats

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

Get user counts for the admin console

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

Parameters:

client (AuthenticatedClient)

Return type:

Response[ServerError | UserStats]

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

Get user counts for the admin console

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

Parameters:

client (AuthenticatedClient)

Return type:

UserStats

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

Get user counts for the admin console

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

Parameters:

client (AuthenticatedClient)

Return type:

Response[ServerError | UserStats]