code: def context_filter(self, context):
          
          if context in CONTEXTS:
              self._params.update(filter_context=context)
              return self
          raise InvalidSearchFilter(
              'Context filter %r was invalid. Available filters: %s' %
              (context, CONTEXTS))
docs: Provide a context filter to search.
          
          :param str context: Context filter by name