pyiron/pyiron_workflow

Overload decorators for argument-free use

Closed this issue · 1 comments

I.e. if the first positional argument passed to the decorator is a callable (rather than a string), verify that there are no other arguments and then act on the received value. This avoids the trailing parenthesis currently necessary with @...as_function_node()

Same as #317, I just forgot I'd already issued it