katana_public_api_client.api.user.get_user_info¶
katana_public_api_client.api.user.get_user_info
¶
Classes¶
Functions¶
asyncio(*, client)
async
¶
Get current user info
Returns information about the currently authenticated user.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
ErrorResponse | UserInfo | None–ErrorResponse | UserInfo
Source code in katana_public_api_client/api/user/get_user_info.py
asyncio_detailed(*, client)
async
¶
Get current user info
Returns information about the currently authenticated user.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[ErrorResponse | UserInfo]–Response[ErrorResponse | UserInfo]
Source code in katana_public_api_client/api/user/get_user_info.py
sync(*, client)
¶
Get current user info
Returns information about the currently authenticated user.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
ErrorResponse | UserInfo | None–ErrorResponse | UserInfo
Source code in katana_public_api_client/api/user/get_user_info.py
sync_detailed(*, client)
¶
Get current user info
Returns information about the currently authenticated user.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[ErrorResponse | UserInfo]–Response[ErrorResponse | UserInfo]