UnaryCommutator¶
- class lsst.daf.relation.UnaryCommutator(first: ~lsst.daf.relation._unary_operation.UnaryOperation | None, second: ~lsst.daf.relation._unary_operation.UnaryOperation, done: bool = True, messages: tuple[str, ...] = <factory>)¶
- Bases: - object- A struct for the return value of - UnaryOperation.commute.- Attributes Summary - Whether the commutation was fully successful ( - bool).- Attributes Documentation - done: bool = True¶
- Whether the commutation was fully successful ( - bool).- When - False, the original downstream relation (- selfin call to- commute) must still be applied after- first(if not- None) and- second. While- firstis usually- Nonein this case,- Projectionoperations (and possibily some extension operations) can be partially commuted