from_dict

method of dascore.workflow.pipe.Pipe source

from_dict(
    document: Mapping ,
)-> ‘Pipe’

Return the pipe a document describes.

The fingerprint a document carries is checked against the pipe read out of it, unless a task has moved on to another version since it was written – which changes the fingerprint by design, and is why the check is a guard against an edited file rather than the answer to what the pipe is.