LogicalExpression

class tracdap.metadata.LogicalExpression

Logical expression for a search of the TRAC metadata store.

Applies a logical operator to one or more sub-expressions.

expr: List[SearchExpression]

A set of sub-expressions.

For AND or OR operations, there must be two or more sub-expressions. For NOT operations, there must be precisely one sub-expression.

operator: LogicalOperator

The logical operator to apply to sub-expressions