def _call_shallow_validation(self, value):
    methods = []
    for method in self._find_methods('_validate', '_to_base_type'):
      if method.__name__ != '_validate':
        break
      methods.append(method)
    call = self._apply_list(methods)
    return call(value)
Add a triple with self as context
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/Property._call_shallow_validation--crossover with--dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/Graph.add