Skip to content

Commit

Permalink
Fix Function docstring comments on self
Browse files Browse the repository at this point in the history
Which is currently not allowed at all
  • Loading branch information
liamhuber committed Nov 2, 2023
1 parent 1b9e7c8 commit ba3e970
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions pyiron_workflow/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,16 +301,7 @@ class Function(Node):
Comments:
If you use the function argument `self` in the first position, the
whole node object is inserted there:
>>> def with_self(self, x):
>>> ...
>>> return x
For this function, you don't have the freedom to choose `self`, because
pyiron automatically sets the node object there (which is also the
reason why you do not see `self` in the list of inputs).
Using the `self` argument for function nodes is not currently supported.
"""

def __init__(
Expand Down

0 comments on commit ba3e970

Please sign in to comment.