Skip to content

Commit

Permalink
Expose Node in public API
Browse files Browse the repository at this point in the history
It makes no sense to deprecate subclasses to Node
without exposing Node as part of the API.
  • Loading branch information
p-snft committed Oct 11, 2023
1 parent 307beb4 commit d2e4bc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/oemof/network/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from .network import Bus
from .network import Component
from .network import Edge
from .network import Node
from .network import Sink
from .network import Source
from .network import Transformer
Expand All @@ -19,6 +20,7 @@
"graph",
"groupings",
"network",
"Node",
"Sink",
"Source",
"Transformer",
Expand Down
2 changes: 2 additions & 0 deletions src/oemof/network/network/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from .edge import Edge
from .nodes import Bus
from .nodes import Component
from .nodes import Node
from .nodes import Sink
from .nodes import Source
from .nodes import Transformer
Expand All @@ -9,6 +10,7 @@
"Bus",
"Component",
"Edge",
"Node",
"Sink",
"Source",
"Transformer",
Expand Down

0 comments on commit d2e4bc2

Please sign in to comment.