code: def filter_params(self, value):
          
          if value is None:
              return {}
  
          key = self.target
          if self.lookup_type is not None:
              key += '__' + self.lookup_type
          return { key: value }
docs: return filtering params