Skip to content

Commit 5ff565e

Browse files
committed
REFACT: rename module NETOP-->PIPELINE
1 parent b4eb33f commit 5ff565e

File tree

11 files changed

+76
-76
lines changed

11 files changed

+76
-76
lines changed

docs/GraphtikModuleDependencies.dot

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ digraph {
3333
tooltip="(private)"
3434
fillcolor=AliceBlue
3535
URL="reference.html#module-graphtik.execution"];
36-
"netop.py" [shape=component
36+
"pipeline.py" [shape=component
3737
tooltip="(public)"
3838
fillcolor=wheat
39-
URL="reference.html#module-graphtik.netop"];
39+
URL="reference.html#module-graphtik.pipeline"];
4040
"plot.py" [shape=component
4141
tooltip="(extra)"
4242
fillcolor=Aquamarine
@@ -46,13 +46,13 @@ digraph {
4646
fillcolor=Aquamarine
4747
URL="reference.html#module-graphtik.sphinxext"];
4848

49-
{"netop.py", "network.py", "execution.py", "plot.py", "sphinxext/"} -> "op.py" [
49+
{"pipeline.py", "network.py", "execution.py", "plot.py", "sphinxext/"} -> "op.py" [
5050
tooltip="(import-time)"];
5151
"base.py" -> "plot.py" [tooltip="(run-time)" style=dashed];
5252
"execution.py" -> "network.py" [tooltip="(import-time)"];
5353
"network.py" -> "execution.py" [tooltip="(run-time)" style=dashed];
54-
"netop.py" -> "network.py" [tooltip="(run-time)" style=dashed];
55-
"op.py" -> "netop.py" [tooltip="(run-time)" style=dashed];
54+
"pipeline.py" -> "network.py" [tooltip="(run-time)" style=dashed];
55+
"op.py" -> "pipeline.py" [tooltip="(run-time)" style=dashed];
5656
"plot.py" -> {"network.py", "execution.py"} [tooltip="(run-time)" style=dashed];
5757
"sphinxext/" -> {"plot.py", "execution.py"} [tooltip="(import-time)"];
5858
}

docs/source/arch.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Architecture
3737
.. autosummary::
3838

3939
graphtik.op.FunctionalOperation
40-
graphtik.netop.NetworkOperation
40+
graphtik.pipeline.NetworkOperation
4141
graphtik.network.Network
4242
graphtik.execution.ExecutionPlan
4343
graphtik.execution.Solution

docs/source/images/GraphtikModuleDependencies.svg

Lines changed: 61 additions & 61 deletions
Loading

docs/source/reference.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ API Reference
77
graphtik
88
graphtik.op
99
graphtik.modifiers
10-
graphtik.netop
10+
graphtik.pipeline
1111
graphtik.network
1212
graphtik.execution
1313
graphtik.plot
@@ -34,10 +34,10 @@ Module: `modifiers`
3434
:members:
3535
:private-members:
3636

37-
Module: `netop`
37+
Module: `pipeline`
3838
====================
3939

40-
.. automodule:: graphtik.netop
40+
.. automodule:: graphtik.pipeline
4141
:members:
4242
:undoc-members:
4343

graphtik/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
vararg,
4949
varargs,
5050
)
51-
from .netop import compose
51+
from .pipeline import compose
5252
from .op import NULL_OP, operation
5353

5454
## SEE ALSO: `.plot.active_plotter_plugged()`, `.plot.set_active_plotter()` &

graphtik/network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def build_network(
611611
"""The :term:`network` factory that does :term:`operation merging` before constructing it. """
612612
from boltons.setutils import IndexedSet as iset
613613
from .op import NULL_OP
614-
from .netop import NetworkOperation
614+
from .pipeline import NetworkOperation
615615

616616
def proc_op(op, parent=None):
617617
"""clone FuncOperation with certain props changed"""

graphtik/op.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ def __call__(self, *args, **kwargs):
666666

667667
def prepare_plot_args(self, plot_args: PlotArgs) -> PlotArgs:
668668
"""Delegate to a provisional network with a single op . """
669-
from .netop import compose
669+
from .pipeline import compose
670670
from .plot import graphviz_html_string
671671

672672
is_user_label = bool(plot_args.graph and plot_args.graph.get("graphviz.label"))
File renamed without changes.

test/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pytest
1010

1111
from graphtik import base, network, op, operation
12-
from graphtik.netop import NetworkOperation
12+
from graphtik.pipeline import NetworkOperation
1313
from graphtik.execution import ExecutionPlan, Solution, _OpTask
1414

1515

test/test_graphtik.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
)
4040
from graphtik.execution import Solution
4141
from graphtik.modifiers import optional, sfx, sfxed, vararg
42-
from graphtik.netop import NetworkOperation
42+
from graphtik.pipeline import NetworkOperation
4343
from graphtik.op import Operation
4444

4545
log = logging.getLogger(__name__)

0 commit comments

Comments
 (0)