Skip to content
Snippets Groups Projects

Resolve #1 "Port Interface", #8 "Port Coupling"

Merged Resolve #1 "Port Interface", #8 "Port Coupling"
1 unresolved thread
Merged Angus Lothian requested to merge 1-port-interface into develop
1 unresolved thread
Files
9
+ 3
3
@@ -18,17 +18,17 @@ class GraphComponent(ABC):
@property
@abstractmethod
def type_name(self) -> TypeName:
"""Returns the type name of the graph component"""
"""Return the type name of the graph component"""
raise NotImplementedError
@property
@abstractmethod
def name(self) -> Name:
"""Returns the name of the graph component."""
"""Return the name of the graph component."""
raise NotImplementedError
@name.setter
@abstractmethod
def name(self, name: Name) -> None:
"""Sets the name of the graph component to the entered name."""
"""Set the name of the graph component to the entered name."""
raise NotImplementedError
Loading