def GeoPtPropertyToProto(prop, index):
  # No default for {MessageField}s
  kwargs = GetKeywordArgs(prop, include_default=False)
  return messages.MessageField(GeoPtMessage, index, **kwargs)
This property returns a dictionary suitable for Thumbnailer.get_thumbnail()
dataset/ETHPy150Open GoogleCloudPlatform/endpoints-proto-datastore/endpoints_proto_datastore/ndb/utils.py/GeoPtPropertyToProto--crossover with--dataset/ETHPy150Open divio/django-filer/filer/models/thumbnailoptionmodels.py/ThumbnailOption.as_dict