8000 Int64 CheckValue in datastore.helpers returns None instead of the value. · Issue #215 · googleapis/google-cloud-python · GitHub
[go: up one dir, main page]

Skip to content
Int64 CheckValue in datastore.helpers returns None instead of the value. #215
@jgeewax

Description

@jgeewax

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

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0