Link Search Menu Expand Document

arena-py API v1.0.1

arena.objects.program

Program object in an ARENA Scene.

Parameters
  • str name: Name of the program
  • str affinity: Indicates the module affinity (client=client's runtime; none or empty=any suitable/available runtime)
  • str instantiate: Single instance of the program (=single), or let every client create a program instance (=client). Per client instance will create new uuid for each program.
  • str filename: Filename of the entry binary
  • str filetype: Type of the program (WA=WASM or PY=Python)
  • str parent: Request to deploy to this runtime (can be a runtime name or UUID); usually left blank.
  • str[] args: Command-line arguments (passed in argv); e.g. [ "arg=value" ].
  • str[] env: Environment variables; e.g. [ "SCENE=ascene" ].
Program( object_id='2c06ae6a-82f7-48fb-97ad-139d3ac8a135', persist=False, objects_list_add=True, **kwargs)
type = 'program'
object_type = 'program'
persist
def update_attributes(self, evt_handler=None, update_handler=None, **kwargs):
def json(self, **kwargs):