user_get_user

Get metadata on the user

Functions

async pydelfini.delfini_core.api.user.user_get_user.asyncio(user_name, *, client)[source]

Get metadata on the user

Retrieve the user information

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

Return type:

FederationUser

async pydelfini.delfini_core.api.user.user_get_user.asyncio_detailed(user_name, *, client)[source]

Get metadata on the user

Retrieve the user information

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

Return type:

Response[FederationUser | ServerError]

pydelfini.delfini_core.api.user.user_get_user.sync(user_name, *, client)[source]

Get metadata on the user

Retrieve the user information

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

Return type:

FederationUser

pydelfini.delfini_core.api.user.user_get_user.sync_detailed(user_name, *, client)[source]

Get metadata on the user

Retrieve the user information

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

Return type:

Response[FederationUser | ServerError]