DeviceExecution

class pyniryo_nate.models.device.DeviceExecution(program_id: str, program_name: str, project_name: str | None = None)[source]

Bases: object

The program a robot is running right now, a paused one included, cut down to what names it.

Parameters:
  • program_id (str) – The ID of the program.

  • program_name (str) – The name of the program.

  • project_name (str | None) – The project the program belongs to, None for a program in no project.

Attributes

Methods

program_id: str
program_name: str
project_name: str | None = None
classmethod from_transport_model(model: DeviceExecution) → DeviceExecution[source]
Parameters:

model (DeviceExecution)

Return type:

DeviceExecution