unique_key

function of dascore.workflow.pipe source

unique_key(
    key: str ,
    taken: collections.abc.Container[str] ,
)-> ‘str’

Return a node name nothing in a pipe has claimed yet.

Nodes are named for their task, so the same task twice in one chain – decimate | decimate – would be one node and would lose a step. The second copy is numbered instead: decimate_2.