We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea3800e commit 630ca29Copy full SHA for 630ca29
graphtik/network.py
@@ -636,17 +636,19 @@ def proc_op(op, parent=None):
636
# to all sub-operations.
637
#
638
if kw:
639
+ op_kw = kw.copy()
640
+
641
if node_props:
- kw["node_props"] = {**op.node_props, **node_props}
642
+ op_kw["node_props"] = {**op.node_props, **node_props}
643
644
if callable(renamer):
645
646
def parent_wrapper(ren_args: RenArgs) -> str:
647
# Provide RenArgs.parent.
648
return renamer(ren_args._replace(parent=parent))
649
- kw["renamer"] = parent_wrapper
- op = op.withset(**kw)
650
+ op_kw["renamer"] = parent_wrapper
651
+ op = op.withset(**op_kw)
652
653
return op
654
0 commit comments