qunicorn_core.api.deployment package

Submodules

qunicorn_core.api.deployment.deployments module

Module containing the routes of the Taskmanager API.

class qunicorn_core.api.deployment.deployments.DeploymentDetailView

Bases: MethodView

API endpoint for running jobs of a single pre-deployment.

get(deployment_id: str)

Get job definitions of a single pre-deployment.

methods: ClassVar[Optional[Collection[str]]] = {'GET'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

class qunicorn_core.api.deployment.deployments.DeploymentID(id: str, description: str, taskmode: int)

Bases: object

description: str
id: str
taskmode: int
class qunicorn_core.api.deployment.deployments.DeploymentIDView

Bases: MethodView

Deployments endpoint for collection of all deployed jobs.

get()

Get pre-deployed job definition list.

methods: ClassVar[Optional[Collection[str]]] = {'GET', 'POST'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

post(new_task_data: dict)

Deploy new Job-definition.

class qunicorn_core.api.deployment.deployments.DeploymentRegister(circuit: str, provider: str, qpu: str, credentials: dict, shots: int, circuit_format: str)

Bases: object

circuit: str
circuit_format: str
credentials: dict
provider: str
qpu: str
shots: int

qunicorn_core.api.deployment.root module

Module containing the root endpoint of the DEPLOYMENT API.

class qunicorn_core.api.deployment.root.RootData(root: str)

Bases: object

root: str

Module contents

Module containing the TaskManager API.