We current do "return INT64(val)", however INT64 returns nothing. We need to run this method, and _then_ return the value. See: https://code.google.com/p/protobuf/source/browse/trunk/python/google/protobuf/internal/type_checkers.py?r=163#100 returns None. We need to _check_ and then return "val". and https://github.com/GoogleCloudPlatform/gcloud-python/blob/1779aeccdea1f2557e5e2cf80e448d0b64f48527/gcloud/datastore/helpers.py#L59
We current do "return INT64(val)", however INT64 returns nothing. We need to run this method, and then return the value.
See: https://code.google.com/p/protobuf/source/browse/trunk/python/google/protobuf/internal/type_checkers.py?r=163#100 returns None. We need to check and then return "val".
and
https://github.com/GoogleCloudPlatform/gcloud-python/blob/1779aeccdea1f2557e5e2cf80e448d0b64f48527/gcloud/datastore/helpers.py#L59