aiidateam / plumpy

A python workflows library that supports writing Processes with a well defined set of inputs and outputs that can be strung together.
https://plumpy.readthedocs.io
Other
8 stars 17 forks source link

`required:False` does not apply when exposing outputs for a specification without namespace #269

Open bastonero opened 1 year ago

bastonero commented 1 year ago

plumpy behaves in the following when exposing outputs for a specification process (example as in AiiDA WorkChains):

The same doesn't happen when specifying a namespace in the expose_outputs.

Personal comments: I would expect as a plugin developer to actually override all required options of the exposed outputs, even when not defining a namespace. Otherwise, it seems pointless to specify the namespace_options if this does not happen (?).