class documentation
class ExecutionResult(object): (source)
Constructor: ExecutionResult(result, executor, error, error_message, ...)
Represents the result of an operator execution.
Parameters | |
result | the execution result |
executor | an Executor |
error | an error traceback, if an error occurred |
error | an error message, if an error occurred |
validation | a ValidationContext |
delegated | whether execution was delegated |
outputs | a JSON dict representing the output schema of the operator |
Method | __init__ |
Undocumented |
Method | raise |
Raises an ExecutionError (only) if the operation failed. |
Method | to |
Returns an ExecutionError representing a failed execution result. |
Method | to |
Returns a JSON dict representation of the result. |
Instance Variable | delegated |
Undocumented |
Instance Variable | error |
Undocumented |
Instance Variable | error |
Undocumented |
Instance Variable | executor |
Undocumented |
Instance Variable | outputs |
Undocumented |
Instance Variable | result |
Undocumented |
Instance Variable | validation |
Undocumented |
Property | is |
Whether the result is a generator or an async generator. |