Skip to content
Advertisement

Retrieve value from list from google datastore python

I have a list in python which is product of a query to Google’s Datastore, the list looks like this:

JavaScript

I need to extract the ID of the entity which is 1111. I’ve tried the following with no success thus far:

JavaScript

Any idea how I might be able to retrieve the ID value?

Advertisement

Answer

https://googlecloudplatform.github.io/google-cloud-python/latest/_modules/google/cloud/datastore/entity.html

JavaScript
Advertisement