flatten_logical_and¶
- lsst.daf.relation.flatten_logical_and(predicate: Predicate) list[lsst.daf.relation._columns._predicate.Predicate] | Literal[False]¶
Flatten all logical AND operations in predicate into a
list.- Parameters:
- predicate
Predicate Original expression to flatten.
- predicate
- Returns:
Notes
This algorithm is not guaranteed to descend into nested OR or NOT operations, but it does descend into nested AND operations.