One by one
A LynxKite executor that assumes most operations operate on their input one by one.
Context
¤
Bases: BaseConfig
Passed to operation functions as "_ctx" if they have such a parameter.
ATTRIBUTE | DESCRIPTION |
---|---|
node |
The workspace node that this context is associated with.
TYPE:
|
last_result |
The last result produced by the operation. This can be used to incrementally build a result, when the operation is executed for multiple items.
TYPE:
|
register
¤
Registers the one-by-one executor.
Usage:
from lynxkite.core.executors import one_by_one
one_by_one.register("My Environment")