arena-py API v0.11.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='c4a97522-ba13-4ff0-aa8f-593f5cd6a134', persist=False, objects_list_add=True, **kwargs)