def pb_to_query_result(self, pb, query_options):
    if query_options.keys_only:
      return self.pb_to_key(pb.key())
    else:
      return self.pb_to_entity(pb)
Turn an entity_pb.EntityProto into a user-level query result.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/datastore/datastore_rpc.py/AbstractAdapter.pb_to_query_result