Closed muelldlr closed 1 year ago
As defined in GraphCreatorBase the name of the Node needs to be _ABSTRACT_NODE_NAME = 'Abstract'. But in nodes.py it is defined as AbstractNode.
GraphCreatorBase
_ABSTRACT_NODE_NAME = 'Abstract'
nodes.py
AbstractNode
The solution is to rename class AbstractNode(GenericOOSNode): to class Abstract(GenericOOSNode):
class AbstractNode(GenericOOSNode):
class Abstract(GenericOOSNode):
Edit: Same applies to _EDGE_ABSTRACT_TEXT = 'AbstractText'. This edge is not defined in relations.py
_EDGE_ABSTRACT_TEXT = 'AbstractText'
relations.py
Or do you see any negative side effect by renaming this class @roxanneelbaff ?
Change the name in the base instead of the class name
For the edge the name of misleading please add edge at the end of its name and define it in the relations
As defined in
GraphCreatorBase
the name of the Node needs to be_ABSTRACT_NODE_NAME = 'Abstract'
. But innodes.py
it is defined asAbstractNode
.The solution is to rename
class AbstractNode(GenericOOSNode):
toclass Abstract(GenericOOSNode):
Edit: Same applies to
_EDGE_ABSTRACT_TEXT = 'AbstractText'
. This edge is not defined inrelations.py
Or do you see any negative side effect by renaming this class @roxanneelbaff ?