As a result of the development of issue #104, one can now get all the output variables form a single block by specifying either the block index or the block name.
However, the ability to return the entire pipeline context right after the block has been executed has been lost.
Since the old behavior allowed easy execution of the pipeline step by step and the new one can easily be achieved by specifying each of the wanted variables individually, this goal of this issue is to recover part of the old functionality.
The new behavior should be:
Outputs specification can either be a single element or a list of elements, and each of the elements can be:
A named output, which points at a list of variables defined inside the pipeline specification.
A full variable name specification: {block_name}.{variable_name}.
A block name
A block index
Named outputs and full variable names will work exactly as they did in issue the #104 implementation.
Block indexes and Block names will be translated to a single variable specification, named after the block name, and which will be outputted as a deepcopy of the context after the execution of that block.
As a result of the development of issue #104, one can now get all the output variables form a single block by specifying either the block index or the block name. However, the ability to return the entire pipeline context right after the block has been executed has been lost.
Since the old behavior allowed easy execution of the pipeline step by step and the new one can easily be achieved by specifying each of the wanted variables individually, this goal of this issue is to recover part of the old functionality.
The new behavior should be:
Outputs specification can either be a single element or a list of elements, and each of the elements can be:
{block_name}.{variable_name}
.Named outputs and full variable names will work exactly as they did in issue the #104 implementation.
Block indexes and Block names will be translated to a single variable specification, named after the block name, and which will be outputted as a
deepcopy
of the context after the execution of that block.Examples
Get the variables form an output called
debug
:Get a single variable:
Get the complete context after the block called
a_primitive_name#1
:Get the complete context after the second block:
The behavior should be consistent with a list specification: