code: def get_filters(self, filters=None, filters_map=None):
          
          filters = filters or {}
          filters_map = filters_map or {}
          filter_action = self.table._meta._filter_action
          if filter_action:
              filter_field = self.table.get_filter_field()
              if filter_action.is_api_filter(filter_field):
                  filter_string = self.table.get_filter_string().strip()
                  if filter_field and filter_string:
                      filter_map = filters_map.get(filter_field, {})
                      filters[filter_field] = filter_string
                      for k, v in filter_map.items():
                          # k is django.utils.functional.__proxy__
                          # and could not be searched in dict
                          if filter_string.lower() == k:
                              filters[filter_field] = v
                              break
          return filters
docs: Converts a string given by the user into a valid api filter value.
  
          :filters: Default filter values.
              {'filter1': filter_value, 'filter2': filter_value}
          :filters_map: mapping between user input and valid api filter values.
              {'filter_name':{_("true_value"):True, _("false_value"):False}