Skip to content

Commit ea3800e

Browse files
committed
ENH(pipe): nest all Ops (not just FnOps) ...
dropped network.py -> op.py dependency.
1 parent 7f8598f commit ea3800e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

graphtik/network.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,12 +632,10 @@ def build_network(
632632

633633
def proc_op(op, parent=None):
634634
"""clone FuncOperation with certain props changed"""
635-
from .op import FunctionalOperation
636-
637635
## Convey any node-props specified in the pipeline here
638636
# to all sub-operations.
639637
#
640-
if kw and isinstance(op, FunctionalOperation):
638+
if kw:
641639
if node_props:
642640
kw["node_props"] = {**op.node_props, **node_props}
643641

0 commit comments

Comments
 (0)