Link Search Menu Expand Document

arena-py API v0.9.6

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='4d9fbac4-b09a-4ecb-a696-b950b447de69', 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):