result_ids

function of dascore.utils.identity source

result_ids(
    members ,
    operation: str | None[str, None] ,
    output: int | None[int, None] = None,
)-> ‘dict’

Return the two ids of an operation’s result.

Parameters

Parameter Description
members The attrs of the patches which went into it, in order. A member
dropped for being incompatible did not contribute its data.
operation The operation’s id. None says it could not be derived – a parameter
the encoder refused – and gives the result a random data id.
output The result’s position among several; see
derive.