def MessageFromSimpleField(field, prop, index):
  return field(index, **GetKeywordArgs(prop))
Converts a property to the corresponding field of specified type.
dataset/ETHPy150Open GoogleCloudPlatform/endpoints-proto-datastore/endpoints_proto_datastore/ndb/utils.py/MessageFromSimpleField