Skip to content

Commit

Permalink
Implementing NodeDeletion which was earlier a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Aug 15, 2024
1 parent 2458242 commit b8fbe75
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -912,9 +912,8 @@ def _tv_dict(stanza: Stanza) -> Dict[str, List[str]]:
id=_id(), about_node=t1id, new_value=vals2list[0], old_value=None
)
else:
#! KGCL may have NameDeletion in the future.
yield kgcl.NodeRename(
id=_id(), about_node=t2id, old_value=vals2list[0], new_value=None
yield kgcl.NodeDeletion(
id=_id(), about_node=t1id, old_value=vals1list[0], new_value=None
)
elif tag == TAG_DEFINITION:
if node_is_deleted:
Expand Down

0 comments on commit b8fbe75

Please sign in to comment.