qcrboxapiclient.api.interactive_sessions.create_interactive_session¶
- async qcrboxapiclient.api.interactive_sessions.create_interactive_session.asyncio(*, client, body)¶
Create interactive session
Create an interactive session with the provided arguments arguments.
- Parameters:
body (CreateInteractiveSessionParameters)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Union
[QCrBoxErrorResponse
,QCrBoxResponseInteractiveSessionIDResponse
,None
]- Returns:
Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionIDResponse]
- async qcrboxapiclient.api.interactive_sessions.create_interactive_session.asyncio_detailed(*, client, body)¶
Create interactive session
Create an interactive session with the provided arguments arguments.
- Parameters:
body (CreateInteractiveSessionParameters)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Response
[Union
[QCrBoxErrorResponse
,QCrBoxResponseInteractiveSessionIDResponse
]]- Returns:
Response[Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionIDResponse]]
- qcrboxapiclient.api.interactive_sessions.create_interactive_session.sync(*, client, body)¶
Create interactive session
Create an interactive session with the provided arguments arguments.
- Parameters:
body (CreateInteractiveSessionParameters)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Union
[QCrBoxErrorResponse
,QCrBoxResponseInteractiveSessionIDResponse
,None
]- Returns:
Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionIDResponse]
- qcrboxapiclient.api.interactive_sessions.create_interactive_session.sync_detailed(*, client, body)¶
Create interactive session
Create an interactive session with the provided arguments arguments.
- Parameters:
body (CreateInteractiveSessionParameters)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Response
[Union
[QCrBoxErrorResponse
,QCrBoxResponseInteractiveSessionIDResponse
]]- Returns:
Response[Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionIDResponse]]