operation_fingerprint

function of dascore.utils.identity source

operation_fingerprint(
    name: str ,
    params: collections.abc.Mapping[str, Any] ,
    version: str = 1.0,
)-> ‘str’

Return the digest which identifies an operation and its parameters.

One spelling for every operation: a patch function names itself by its registry tag (fingerprint_call), and the operations which are not patch functions – concatenating, stacking, a ufunc, an array function – by a capitalized kind, which patch function names do not use.

Parameters

Parameter Description
name What was done.
params What it was done with. A None value is the same as leaving it out.
version The operation’s version; bump it when the same parameters mean a
different result.