From 904fd50b91107b3c7a70971398e3e409f1b87bf7 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 6 Apr 2016 14:00:38 -0600 Subject: [PATCH] Fix property name in projection_query --- datastore/api/snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastore/api/snippets.py b/datastore/api/snippets.py index 8bb2c306d6e9..89f086d1f2f6 100644 --- a/datastore/api/snippets.py +++ b/datastore/api/snippets.py @@ -315,7 +315,7 @@ def projection_query(client): for task in query.fetch(): priorities.append(task['priority']) - percent_completes.append(task['priority']) + percent_completes.append(task['percent_complete']) # [END run_query_projection] return priorities, percent_completes