qcrboxapiclient.api.interactive_sessions.create_interactive_session_with_arguments

async qcrboxapiclient.api.interactive_sessions.create_interactive_session_with_arguments.asyncio(*, client, body)

Create interactive session

Create an interactive session with the provided arguments arguments.

Parameters:
  • body (CreateInteractiveSession)

  • 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_with_arguments.asyncio_detailed(*, client, body)

Create interactive session

Create an interactive session with the provided arguments arguments.

Parameters:
  • body (CreateInteractiveSession)

  • 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_with_arguments.sync(*, client, body)

Create interactive session

Create an interactive session with the provided arguments arguments.

Parameters:
  • body (CreateInteractiveSession)

  • 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_with_arguments.sync_detailed(*, client, body)

Create interactive session

Create an interactive session with the provided arguments arguments.

Parameters:
  • body (CreateInteractiveSession)

  • 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]]