cyphermed.api.users.get_user_by_id

def sync_detailed( user_id: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[typing.Union[cyphermed.models.admin_user_info.AdminUserInfo, cyphermed.models.anon_user_info.AnonUserInfo, cyphermed.models.user_info.UserInfo]]:

Get User By Id

Get a user by ID

Args: user_id (str):

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['AdminUserInfo', 'AnonUserInfo', 'UserInfo']]

def sync( user_id: str, *, client: cyphermed.client.AuthenticatedClient) -> Union[cyphermed.models.admin_user_info.AdminUserInfo, cyphermed.models.anon_user_info.AnonUserInfo, cyphermed.models.user_info.UserInfo, NoneType]:

Get User By Id

Get a user by ID

Args: user_id (str):

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: Union['AdminUserInfo', 'AnonUserInfo', 'UserInfo']

async def asyncio_detailed( user_id: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[typing.Union[cyphermed.models.admin_user_info.AdminUserInfo, cyphermed.models.anon_user_info.AnonUserInfo, cyphermed.models.user_info.UserInfo]]:

Get User By Id

Get a user by ID

Args: user_id (str):

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['AdminUserInfo', 'AnonUserInfo', 'UserInfo']]

async def asyncio( user_id: str, *, client: cyphermed.client.AuthenticatedClient) -> Union[cyphermed.models.admin_user_info.AdminUserInfo, cyphermed.models.anon_user_info.AnonUserInfo, cyphermed.models.user_info.UserInfo, NoneType]:

Get User By Id

Get a user by ID

Args: user_id (str):

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: Union['AdminUserInfo', 'AnonUserInfo', 'UserInfo']