docs: def filter_entities(self, model, context=None):
          """
          Filter entities
          Runs filters on entity properties changing them in place.
          :param model:  object or dict
          :param context: object, dict or None
          :return: None
          """
          if model is None:
              return
  
          for property_name in self.entities:
              prop = self.entities[property_name]
              value = self.get(model, property_name)
  
              filtered_value = prop.filter(
                  value=value,
                  model=model,
                  context=context
              )
              if value != filtered_value:  # unless changed!
                  self.set(model, property_name, filtered_value)
  
              prop.filter_with_schema(
                  model=value,
                  context=context
              )