ExecutionOutput

class pyniryo_nate.models.programs.ExecutionOutput(output: str, eof: bool)[source]

Bases: object

Represents output from a program execution.

Parameters:
  • output (str) – The output text from the program.

  • eof (bool) – Whether this is the end of the output stream.

Attributes

Methods

output: str
eof: bool
classmethod from_transport_model(model: ProgramExecutionOutput) → ExecutionOutput[source]
Parameters:

model (ProgramExecutionOutput)

Return type:

ExecutionOutput

to_transport_model() → ProgramExecutionOutput[source]
Return type:

ProgramExecutionOutput