seamless_transformer.transformer_class
Wrap a function in a Seamless transformer.
ArgsWrapper
- kind:
class - signature:
ArgsWrapper
Fresh whole-pin handles over Transformer-owned input references.
BashTransformer
- kind:
class - signature:
BashTransformer
Delayed Bash transformer.
CelltypesWrapper
- kind:
class - signature:
CelltypesWrapper
Wrapper around an imperative transformer's celltypes.
DirectBashTransformer
- kind:
class - signature:
DirectBashTransformer
Direct Bash transformer.
DirectCallMixin
- kind:
class - signature:
DirectCallMixin
Call-mode mixin that computes a built Transformation immediately.
DirectPythonTransformer
- kind:
class - signature:
DirectPythonTransformer
Direct Python transformer.
GlobalsWrapper
- kind:
class - signature:
GlobalsWrapper
Wrapper around an imperative transformer's global namespace.
ModulesWrapper
- kind:
class - signature:
ModulesWrapper
Wrapper around an imperative transformer's imported modules.
PythonBashBaseTransformer
- kind:
class - signature:
PythonBashBaseTransformer
Shared implementation for ordinary Python and Bash transformers.
PythonBashBaseTransformer.language
- kind:
method - signature:
language(self, _value)
No docstring.
PythonMixin
- kind:
class - signature:
PythonMixin
Python and text-source behavior for ordinary transformers.
PythonMixin.code
- kind:
method - signature:
code(self, code)
No docstring.
PythonMixin.language
- kind:
method - signature:
language(self, lang)
No docstring.
PythonTransformer
- kind:
class - signature:
PythonTransformer
Delayed Python transformer.
Transformer
- kind:
class - signature:
Transformer
Factory for Python, Bash, and compiled Transformer builders.
TransformerCore
- kind:
class - signature:
TransformerCore
Shared transformer state and call assembly.
TransformerCore.allow_input_fingertip
- kind:
method - signature:
allow_input_fingertip(self, value)
No docstring.
TransformerCore.args
- kind:
method - signature:
args(self)
Pre-bound transformer arguments.
TransformerCore.block_reason
- kind:
method - signature:
block_reason(self)
Return sorted input pins responsible for the current pending state.
Applies to unwired, blocked, and waiting; includes code
when applicable. Mixed inputs use precedence unwired, then
blocked, then waiting; only pins in that category are listed.
Returns None for other states.
TransformerCore.build
- kind:
method - signature:
build(self, *args, **kwargs)
Build a delayed Transformation without executing it.
TransformerCore.celltypes
- kind:
method - signature:
celltypes(self)
The celltypes.
TransformerCore.clear_exception
- kind:
method - signature:
clear_exception(self)
No docstring.
TransformerCore.computation
- kind:
method - signature:
computation(self, timeout)
No docstring.
TransformerCore.compute
- kind:
method - signature:
compute(self, timeout)
No docstring.
TransformerCore.direct_print
- kind:
method - signature:
direct_print(self, value)
No docstring.
TransformerCore.driver
- kind:
method - signature:
driver(self, value)
No docstring.
TransformerCore.environment
- kind:
method - signature:
environment(self)
Execution environment for this transformer.
TransformerCore.exception
- kind:
method - signature:
exception(self)
Return the exception associated with a failed workflow transformer.
TransformerCore.globals
- kind:
method - signature:
globals(self)
Global symbols injected via modules.main.
TransformerCore.language
- kind:
method - signature:
language(self, lang)
No docstring.
TransformerCore.local
- kind:
method - signature:
local(self, value)
No docstring.
TransformerCore.meta
- kind:
method - signature:
meta(self, meta)
No docstring.
TransformerCore.modules
- kind:
method - signature:
modules(self)
Imported Python modules.
TransformerCore.optional_pins
- kind:
method - signature:
optional_pins(self)
Read-only Python signature defaults, with per-name enable/disable.
TransformerCore.pins
- kind:
method - signature:
pins(self)
Pre-bound transformer inputs.
TransformerCore.prune
- kind:
method - signature:
prune(self)
No docstring.
TransformerCore.result
- kind:
method - signature:
result(self)
No docstring.
TransformerCore.run
- kind:
method - signature:
run(self)
No docstring.
TransformerCore.scratch
- kind:
method - signature:
scratch(self, value)
No docstring.
TransformerCore.state
- kind:
method - signature:
state(self)
Return the node state of a bound workflow transformer.
The six-state vocabulary of the node itself: unwired, blocked,
waiting, computing, complete, failed. With
:attr:block_reason this is the whole of a node's lifecycle report;
the display string status used to return is gone, because it
collapsed waiting and computing into one word. For a summary,
repr of the handle carries the state.
TransformerCore.task
- kind:
method - signature:
task(self)
No docstring.
TransformerCore.transformation
- kind:
method - signature:
transformation(self, *args, **kwargs)
Build a delayed Transformation from the current transformer state.
_class_attribute
- kind:
function - signature:
_class_attribute(cls, name)
No docstring.
_clone_transformer_builder
- kind:
function - signature:
_clone_transformer_builder(source, target_cls)
Clone a standalone builder with independent lifecycle ownership.
_failed_transformation
- kind:
function - signature:
_failed_transformation(result_celltype, exc, *, scratch)
Return a transformation that reports a pin error on construction.
_freeze_modules
- kind:
function - signature:
_freeze_modules(modules)
Copy module mappings without attempting to pickle module objects.
_no_such_attribute
- kind:
function - signature:
_no_such_attribute(obj, name)
No docstring.
delayed
- kind:
function - signature:
delayed(func)
Return a Transformation object that can be executed later.
direct
- kind:
function - signature:
direct(func)
Execute immediately, returning the result value.