cf.Query.attr

Query.attr

The object attribute on which to apply the query condition.

Examples

>>> q = cf.Query('ge', 4)
>>> print(q.attr)
()
>>> q = cf.Query('le', 6, attr='year')
>>> q.attr
('year',)