workflow
Machinery for describing, identifying and composing DASCore operations.
An operation is a Task: a frozen object whose fields are its parameters, which knows its own fingerprint and can be written to a document and read back.
Functions
|
Name
|
Description
|
|
canonical_json
|
Return the canonical JSON text of an object.
|
|
combine_hashes
|
Return one digest standing for an ordered series of digests.
|
|
decode
|
Return the object a document-mode encoding stands for.
|
|
digest
|
Return a stable 16 character digest of any encodable object.
|
|
encode
|
Return a JSON-safe tree standing for an object.
|
|
intern
|
Return one shared instance for every task which equals the given one.
|
|
make_function_task_class
|
Return a Task subclass whose fields are a function’s parameters.
|
|
task
|
Turn a function into a Task subclass.
|
Classes
|
Name
|
Description
|
|
Task
|
Base class for a fingerprintable, serializable operation.
|
Modules
|
Name
|
Description
|
|
serialize
|
Canonical encoding, decoding and hashing for workflow objects.
|
|
task
|
The immutable, fingerprintable unit of work DASCore’s workflows are built of.
|