@@ -32,7 +32,7 @@ solution of the last computation, calling methods with arguments like this::
3232
3333The same :meth: `.Plottable.plot() ` method applies also for:
3434
35- - :class: `.FunctionalOperation `
35+ - :class: `.FnOp `
3636- :class: `.Pipeline `
3737- :class: `.Network `
3838- :class: `.ExecutionPlan `
@@ -251,7 +251,7 @@ Directives
251251
252252 the variable name containing what to render, which it can be:
253253
254- - an instance of :class:`.Plottable` (such as :class:`.FunctionalOperation `,
254+ - an instance of :class:`.Plottable` (such as :class:`.FnOp `,
255255 :class:`.Pipeline`, :class:`.Network`, :class:`.ExecutionPlan` or
256256 :class:`.Solution`);
257257
@@ -506,21 +506,21 @@ in :term:`parallel`::
506506 DEBUG ... cache-updated key: ((), None, None)
507507 DEBUG === (3C40) Executing pipeline(t), in parallel, on inputs[], according to ExecutionPlan(needs=[], provides=['b'], x2 steps: op1, op2)...
508508 DEBUG +++ (3C40) Parallel batch['op1'] on solution[].
509- DEBUG +++ (3C40) Executing OpTask(FunctionalOperation |(name='op1', needs=[], provides=[sfx: 'b'], fn{}='<lambda>'), sol_keys=[])...
509+ DEBUG +++ (3C40) Executing OpTask(FnOp |(name='op1', needs=[], provides=[sfx: 'b'], fn{}='<lambda>'), sol_keys=[])...
510510 INFO graphtik.op.py:534 Results[sfx: 'b'] contained +1 unknown provides[sfx: 'b']
511- FunctionalOperation |(name='op1', needs=[], provides=[sfx: 'b'], fn{}='<lambda>')
511+ FnOp |(name='op1', needs=[], provides=[sfx: 'b'], fn{}='<lambda>')
512512 DEBUG ... (3C40) op(op1) completed in 1.406ms.
513513
514514 ...
515515
516516 DEBUG === Compiling pipeline(t)...
517517 DEBUG ... cache-hit key: ((), None, None)
518518 DEBUG === (8697) Executing pipeline(t), evicting, on inputs[], according to ExecutionPlan(needs=[], provides=['b'], x3 steps: op1, op2, sfx: 'b')...
519- DEBUG +++ (8697) Executing OpTask(FunctionalOperation (name='op1', needs=[], provides=[sfx: 'b'], fn{}='<lambda>'), sol_keys=[])...
519+ DEBUG +++ (8697) Executing OpTask(FnOp (name='op1', needs=[], provides=[sfx: 'b'], fn{}='<lambda>'), sol_keys=[])...
520520 INFO graphtik.op.py:534 Results[sfx: 'b'] contained +1 unknown provides[sfx: 'b']
521- FunctionalOperation (name='op1', needs=[], provides=[sfx: 'b'], fn{}='<lambda>')
521+ FnOp (name='op1', needs=[], provides=[sfx: 'b'], fn{}='<lambda>')
522522 DEBUG ... (8697) op(op1) completed in 0.149ms.
523- DEBUG +++ (8697) Executing OpTask(FunctionalOperation (name='op2', needs=[sfx: 'b'], provides=['b'], fn='<lambda>'), sol_keys=[sfx: 'b'])...
523+ DEBUG +++ (8697) Executing OpTask(FnOp (name='op2', needs=[sfx: 'b'], provides=['b'], fn='<lambda>'), sol_keys=[sfx: 'b'])...
524524 DEBUG ... (8697) op(op2) completed in 0.08ms.
525525 DEBUG ... (8697) evicting 'sfx: 'b'' from solution[sfx: 'b', 'b'].
526526 DEBUG === (8697) Completed pipeline(t) in 0.229ms.
@@ -562,13 +562,13 @@ with the following properties, as a debug aid:
562562{'aliases': None,
563563 'args': {'kwargs': {}, 'positional': [None], 'varargs': []},
564564 'network': Network(x3 nodes, x1 ops: screamer),
565- 'operation': FunctionalOperation (name='screamer', needs=['a'], provides=['foo'], fn='scream'),
565+ 'operation': FnOp (name='screamer', needs=['a'], provides=['foo'], fn='scream'),
566566 'outputs': None,
567567 'plan': ExecutionPlan(needs=['a'], provides=['foo'], x1 steps: screamer),
568568 'results_fn': None,
569569 'results_op': None,
570570 'solution': {'a': None},
571- 'task': OpTask(FunctionalOperation (name='screamer', needs=['a'], provides=['foo'], fn='scream'), sol_keys=['a'])}
571+ 'task': OpTask(FnOp (name='screamer', needs=['a'], provides=['foo'], fn='scream'), sol_keys=['a'])}
572572
573573
574574In interactive *REPL * console you may use this to get the last raised exception::
@@ -633,7 +633,7 @@ problems with computed values.
633633Accessing wrapper operation from task-context
634634~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
635635Alternatively, when the debugger is stopped inside an underlying function,
636- you may access the wrapper :class: `.FunctionalOperation ` and the :class: `.Solution `
636+ you may access the wrapper :class: `.FnOp ` and the :class: `.Solution `
637637through the :data: `graphtik.execution.task_context ` context-var.
638638This is populated with the :class: `._OpTask ` instance of the currently executing operation,
639639as shown in the :mod: `pdb ` session printout, below::
@@ -659,7 +659,7 @@ Printing the operation-task gives you a quick overview of the operation and
659659the available solution keys (but not the values, not to clutter the debugger console)::
660660
661661 (Pdb) p op_task
662- OpTask(FunctionalOperation (name=..., needs=..., provides=..., fn=...), sol_keys=[...])
662+ OpTask(FnOp (name=..., needs=..., provides=..., fn=...), sol_keys=[...])
663663
664664Print the wrapper operation::
665665
0 commit comments