Skip to content

Commit

Permalink
Expose Entity in API
Browse files Browse the repository at this point in the history
It might make sense to have the abstract superclass of
Node and Edge exposed in the API.
  • Loading branch information
p-snft committed Oct 11, 2023
1 parent ef892bb commit 11df64e
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 Entity
from .network import Node
from .network import Sink
from .network import Source
Expand All @@ -16,6 +17,7 @@
"Bus",
"Component",
"Edge",
"Entity",
"energy_system",
"graph",
"groupings",
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,4 +1,5 @@
from .edge import Edge
from .entity import Entity
from .nodes import Bus
from .nodes import Component
from .nodes import Node
Expand All @@ -10,6 +11,7 @@
"Bus",
"Component",
"Edge",
"Entity",
"Node",
"Sink",
"Source",
Expand Down

0 comments on commit 11df64e

Please sign in to comment.