def filterable(fn): fn._filterable = True return accepts(Ref('query-filters'), Ref('query-options'))(fn)