qunicorn_core.api.devices package

Submodules

qunicorn_core.api.devices.devices module

Module containing the routes of the Taskmanager API.

class qunicorn_core.api.devices.devices.DEVICES(serviceType: str, description: str, address: str, status: str, name: str, url: str, simulator: bool)

Bases: object

address: str
description: str
name: str
serviceType: str
simulator: bool
status: str
url: str
class qunicorn_core.api.devices.devices.DevicesView

Bases: MethodView

Devices Endpoint to get properties of a specific device/service.

get()

Get the active jobs of a device.

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.

qunicorn_core.api.devices.root module

Module containing the root endpoint of the DEVICES API.

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

Bases: object

root: str
class qunicorn_core.api.devices.root.RootView

Bases: MethodView

Root endpoint of the devices api, to list all available devices.

get()

Get the urls of the next endpoints of the devices api to call.

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.

Module contents

Module containing the TaskManager API.