class documentation

class Result:

View In Hierarchy

Holds the captured result of an invoked CLI script.
Instance Variable exc​_info Undocumented
Instance Variable exception Undocumented
Instance Variable exit​_code Undocumented
Instance Variable return​_value Undocumented
Instance Variable runner Undocumented
Instance Variable stderr​_bytes Undocumented
Instance Variable stdout​_bytes Undocumented
Property output The (standard) output as unicode string.
Property stderr The standard error as unicode string.
Property stdout The standard output as unicode string.
Method __init__ Undocumented
Method __repr__ Undocumented
exc_info =

Undocumented

exception =

Undocumented

exit_code =

Undocumented

return_value =

Undocumented

runner =

Undocumented

stderr_bytes =

Undocumented

stdout_bytes =

Undocumented

@property
output: str =
The (standard) output as unicode string.
@property
stderr: str =
The standard error as unicode string.
@property
stdout: str =
The standard output as unicode string.
def __init__(self, runner, stdout_bytes, stderr_bytes, return_value, exit_code, exception, exc_info=None):

Undocumented

Parameters
runner:CliRunnerUndocumented
stdout​_bytes:bytesUndocumented
stderr​_bytes:t.Optional[bytes]Undocumented
return​_value:t.AnyUndocumented
exit​_code:intUndocumented
exception:t.Optional[BaseException]Undocumented
exc​_info:t.Optional[t.Tuple[t.Type[BaseException], BaseException, TracebackType]]Undocumented
def __repr__(self):

Undocumented

Returns
strUndocumented