code: def get_value_filter(self, filter_value):
          '''
          Fix here until upstream PR is merged
          https://github.com/elastic/elasticsearch-dsl-py/pull/473
          '''
          self.validate_parameter(filter_value)
          f, t = self._ranges[filter_value]
          limits = {}
          # lt and gte to ensure non-overlapping ranges
          if f is not None:
              limits['gte'] = f
          if t is not None:
              limits['lt'] = t
  
          return Q('range', **{
              self._params['field']: limits
          }f get_value_filter(self, filter_value):
          '''
          Fix here until upstream PR is merged
          https://github.com/elastic/elasticsearch-dsl-py/pull/473
          '''
          self.validate_parameter(filter_value)
          f, t = self._ranges[filter_value]
          limits = {}
          # lt and gte to ensure non-overlapping ranges
          if f is not None:
              limits['gte'] = f
          if t is not None:
              limits['lt'] = t
  
          return Q('range', **{
              self._params['field']: limits
          })
docs: Fix here until upstream PR is merged
          https://github.com/elastic/elasticsearch-dsl-py/pull/473