Skip to content

Commit

Permalink
Document attributes inputs/outputs of Node
Browse files Browse the repository at this point in the history
  • Loading branch information
p-snft committed Oct 10, 2023
1 parent 95ce2a0 commit 48105fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/oemof/network/network/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,18 @@ class Node(Entity):
inputs: list or dict, optional
Either a list of this nodes' input nodes or a dictionary mapping input
nodes to corresponding inflows (i.e. input values).
List will be converted to dictionary with values set to None.
outputs: list or dict, optional
Either a list of this nodes' output nodes or a dictionary mapping
output nodes to corresponding outflows (i.e. output values).
List will be converted to dictionary with values set to None.
Attributes
----------
inputs: dict
A dictionary mapping input nodes to corresponding inflows.
outputs: list or dict, optional
A dictionary mapping output nodes to corresponding outflows.
"""

def __init__(self, *args, **kwargs):
Expand Down

0 comments on commit 48105fd

Please sign in to comment.