Create auth session Args: body (AuthSessionRequest): 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. Retur
(
*,
client: Union[AuthenticatedClient, Client],
body: AuthSessionRequest,
)
| 92 | |
| 93 | |
| 94 | def sync( |
| 95 | *, |
| 96 | client: Union[AuthenticatedClient, Client], |
| 97 | body: AuthSessionRequest, |
| 98 | ) -> Optional[Union[AuthSessionResponse, HTTPValidationError]]: |
| 99 | """Create auth session |
| 100 | |
| 101 | Args: |
| 102 | body (AuthSessionRequest): |
| 103 | |
| 104 | Raises: |
| 105 | errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
| 106 | httpx.TimeoutException: If the request takes longer than Client.timeout. |
| 107 | |
| 108 | Returns: |
| 109 | Union[AuthSessionResponse, HTTPValidationError] |
| 110 | """ |
| 111 | |
| 112 | return sync_detailed( |
| 113 | client=client, |
| 114 | body=body, |
| 115 | ).parsed |
| 116 | |
| 117 | |
| 118 | async def asyncio_detailed( |
nothing calls this directly
no test coverage detected