def _to_pb(self):
    raise NotImplementedError(
        'This filter only supports in memory operations (%r)' % self)
Internal only function to generate a pb.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/datastore/datastore_query.py/FilterPredicate._to_pb