Blackbox ignores given doc string when forwarding
stwirth opened this issue · 1 comments
stwirth commented
When forwarding an output of a Blackbox a doc string can be defined:
test/scripts/blackbox.py:52:
o.forward('value', cell_name='inc', cell_key='out', doc='New docs')
However, the output of __doc__
does not contain this string. The name of the output is changed (here from 'out' to 'value') but the doc is still the original from the cell.
See the output when running the script:
MyBlackBox (ecto::module):
A simple black box that doesn't really do anything.
Parameters:
- amount [double] default = 1
Amount to increment by.
- fail [boost::python::api::object] default = True
Should i fail or should i go.
- start [double] default = 10
My starting value.
- step [double] default = 3
The step with which i generate integers.
Outputs:
- value [double]
output
The string "New docs" does not appear below "Outputs".