Skip to content

Commit

Permalink
fix: use super
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Oct 15, 2024
1 parent 5f1c902 commit 601ec49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx_arangodb/classes/multigraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def has_edge_override(self, u, v, key=None):

def copy_override(self, *args, **kwargs):
logger.warning("Note that copying a graph loses the connection to the database")
G = Graph.copy(self, *args, **kwargs)
G = super().copy(*args, **kwargs)
G.edge_key_dict_factory = nx.MultiGraph.edge_key_dict_factory
return G

Expand Down

0 comments on commit 601ec49

Please sign in to comment.