code: def filter(self, **config) -> CallbackDataFilter:
          
          for key in config.keys():
              if key not in self._part_names:
                  raise ValueError(f"Invalid field name '{key}'")
          return CallbackDataFilter(self, config)
docs: Generate filter
  
          :param config:
          :return: