pg_utils.pg_model.base_utils.fields_in_term
- pg_utils.pg_model.base_utils.fields_in_term(expr: Expr, field_collection: LabeledCollection)[source]
Extract all fields in a term from a collection.
- Parameters:
expr (sympy.Expr) – the term from which the field will be extracted
field_collection (base.LabeledCollection) – range of fields
- Returns:
set of fields