Skip to content

Commit

Permalink
EdgeCreation object has about_edge == None (#729)
Browse files Browse the repository at this point in the history
* `EdgeCreation` object has `about_edge` == None

* redundancy removed
  • Loading branch information
hrshdhgd authored Mar 28, 2024
1 parent 06cfe37 commit db4c2c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/oaklib/interfaces/differ_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,7 @@ def diff_summary(
if isinstance(change, kgcl.NodeChange):
about = change.about_node
elif isinstance(change, kgcl.EdgeChange):
if isinstance(change, kgcl.EdgeDeletion):
about = change.subject
else:
about = change.about_edge.subject
about = change.subject
else:
about = None
partition = RESIDUAL_KEY
Expand Down

0 comments on commit db4c2c8

Please sign in to comment.