UnaryCommutator¶
-
class
lsst.daf.relation.
UnaryCommutator
(first: lsst.daf.relation._unary_operation.UnaryOperation | None[lsst.daf.relation._unary_operation.UnaryOperation, None], second: lsst.daf.relation._unary_operation.UnaryOperation, done: bool = True, messages: tuple = <factory>)¶ Bases:
object
A struct for the return value of
UnaryOperation.commute
.Attributes Summary
done
Whether the commutation was fully successful ( bool
).Attributes Documentation
-
done
= True¶ Whether the commutation was fully successful (
bool
).When
False
, the original downstream relation (self
in call tocommute
) must still be applied afterfirst
(if notNone
) andsecond
. Whilefirst
is usuallyNone
in this case,Projection
operations (and possibily some extension operations) can be partially commuted
-