holds_a_nested_version

function of dascore.workflow.task source

holds_a_nested_version(
    document: Mapping ,
)-> ‘bool’

Return True when a task or pipe a document holds as a parameter was written at another version.

The tasks a pipe is made of are not looked at: their fingerprints can be recomputed at the version the document records, which says exactly what they were. A nested one cannot, because the task holding it fingerprints it at the version its class has now – so a bump down there is the one version difference which still cannot be told from an edit, and is tolerated rather than reported as one.