qcs_api_client.api.engagements.create_engagement#

Module Contents#

Functions#

sync(...)

Create Engagement

sync_from_dict(...)

asyncio(...)

Create Engagement

asyncio_from_dict(...)

qcs_api_client.api.engagements.create_engagement.sync(*, client: httpx.Client, json_body: qcs_api_client.models.create_engagement_request.CreateEngagementRequest, httpx_request_kwargs: Dict[str, Any] = {}) qcs_api_client.types.Response[qcs_api_client.models.engagement_with_credentials.EngagementWithCredentials]#

Create Engagement

Create a new engagement using the specified parameters.

At least one of the following parameters must be supplied: - endpointId: The ID of the endpoint on which to engage. - quantumProcessorId: The ID of the quantum processor on which to engage, allowing the

service to select a default endpoint. Ignored if endpointId is set.

Parameters

json_body (CreateEngagementRequest) –

Returns

Response[EngagementWithCredentials]

qcs_api_client.api.engagements.create_engagement.sync_from_dict(*, client: httpx.Client, json_body_dict: Dict, httpx_request_kwargs: Dict[str, Any] = {}) qcs_api_client.types.Response[qcs_api_client.models.engagement_with_credentials.EngagementWithCredentials]#
async qcs_api_client.api.engagements.create_engagement.asyncio(*, client: httpx.AsyncClient, json_body: qcs_api_client.models.create_engagement_request.CreateEngagementRequest, httpx_request_kwargs: Dict[str, Any] = {}) qcs_api_client.types.Response[qcs_api_client.models.engagement_with_credentials.EngagementWithCredentials]#

Create Engagement

Create a new engagement using the specified parameters.

At least one of the following parameters must be supplied: - endpointId: The ID of the endpoint on which to engage. - quantumProcessorId: The ID of the quantum processor on which to engage, allowing the

service to select a default endpoint. Ignored if endpointId is set.

Parameters

json_body (CreateEngagementRequest) –

Returns

Response[EngagementWithCredentials]

async qcs_api_client.api.engagements.create_engagement.asyncio_from_dict(*, client: httpx.AsyncClient, json_body_dict: Dict, httpx_request_kwargs: Dict[str, Any] = {}) qcs_api_client.types.Response[qcs_api_client.models.engagement_with_credentials.EngagementWithCredentials]#