ProgramExecutionContext¶
- class pyniryo_nate.models.programs.ProgramExecutionContext(environment: dict[str, str], arguments: list[str])[source]¶
Bases:
objectRepresents the execution context for a program.
- Parameters:
environment (dict[str, str]) – Environment variables to set for the program execution.
arguments (list[str]) – Command-line arguments to pass to the program.
Attributes
Methods
- environment: dict[str, str]¶
- arguments: list[str]¶
- classmethod from_transport_model(model: ProgramExecutionContext) ProgramExecutionContext[source]¶
- Parameters:
model (ProgramExecutionContext)
- Return type: