quri_parts.riqu.rest.api.job_api module¶
riqu (Rest Interface for QUantum computing)
the cloud server with riqu interface. # noqa: E501
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class quri_parts.riqu.rest.api.job_api.JobApi(api_client=None)¶
Bases:
objectNOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen
- delete_job(job_id, **kwargs)¶
Delete Job # noqa: E501
Delete the job # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_job(job_id, async_req=True) >>> result = thread.get()
:param async_req bool :param str job_id: Job ID (required) :return: None
If the method is called asynchronously, returns the request thread.
- delete_job_with_http_info(job_id, **kwargs)¶
Delete Job # noqa: E501
Delete the job # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_job_with_http_info(job_id, async_req=True) >>> result = thread.get()
:param async_req bool :param str job_id: Job ID (required) :return: None
If the method is called asynchronously, returns the request thread.
- download_file(job_id, **kwargs)¶
Download file # noqa: E501
download file of the job. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.download_file(job_id, async_req=True) >>> result = thread.get()
:param async_req bool :param str job_id: Job ID (required) :return: object
If the method is called asynchronously, returns the request thread.
- download_file_with_http_info(job_id, **kwargs)¶
Download file # noqa: E501
download file of the job. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.download_file_with_http_info(job_id, async_req=True) >>> result = thread.get()
:param async_req bool :param str job_id: Job ID (required) :return: object
If the method is called asynchronously, returns the request thread.
- get_job(job_id, **kwargs)¶
Get Job # noqa: E501
Get the information of the job. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_job(job_id, async_req=True) >>> result = thread.get()
:param async_req bool :param str job_id: Job ID (required) :return: Job
If the method is called asynchronously, returns the request thread.
- get_job_with_http_info(job_id, **kwargs)¶
Get Job # noqa: E501
Get the information of the job. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_job_with_http_info(job_id, async_req=True) >>> result = thread.get()
:param async_req bool :param str job_id: Job ID (required) :return: Job
If the method is called asynchronously, returns the request thread.
- post_job(**kwargs)¶
Post Job # noqa: E501
Create a new job # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_job(async_req=True) >>> result = thread.get()
:param async_req bool :param JobsBody body: :return: InlineResponse201
If the method is called asynchronously, returns the request thread.
- post_job_with_http_info(**kwargs)¶
Post Job # noqa: E501
Create a new job # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_job_with_http_info(async_req=True) >>> result = thread.get()
:param async_req bool :param JobsBody body: :return: InlineResponse201
If the method is called asynchronously, returns the request thread.
- post_ssejob(**kwargs)¶
Post SSE Job # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_ssejob(async_req=True) >>> result = thread.get()
:param async_req bool :param str up_file: :param str remark: :param str job_type: :return: object
If the method is called asynchronously, returns the request thread.
- post_ssejob_with_http_info(**kwargs)¶
Post SSE Job # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_ssejob_with_http_info(async_req=True) >>> result = thread.get()
:param async_req bool :param str up_file: :param str remark: :param str job_type: :return: object
If the method is called asynchronously, returns the request thread.
- put_jobs_job_id_cancel(job_id, **kwargs)¶
Cancel Job # noqa: E501
Cancel a job # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.put_jobs_job_id_cancel(job_id, async_req=True) >>> result = thread.get()
:param async_req bool :param str job_id: (required) :return: None
If the method is called asynchronously, returns the request thread.
- put_jobs_job_id_cancel_with_http_info(job_id, **kwargs)¶
Cancel Job # noqa: E501
Cancel a job # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.put_jobs_job_id_cancel_with_http_info(job_id, async_req=True) >>> result = thread.get()
:param async_req bool :param str job_id: (required) :return: None
If the method is called asynchronously, returns the request thread.