Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3293)

Unified Diff: appengine/findit/util_scripts/iterator.py

Issue 2663063007: [Predator] Switch from anonymous dict to CrashData. (Closed)
Patch Set: Rebase and fix delta test. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/util_scripts/crash_queries/delta_test/run-predator.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/util_scripts/iterator.py
diff --git a/appengine/findit/util_scripts/iterator.py b/appengine/findit/util_scripts/iterator.py
index 813f050ebed1da8b285feca43f2a15ce0ec0f7fa..6895abd54235fc436118608e3b6f72fbf8eb8a7a 100644
--- a/appengine/findit/util_scripts/iterator.py
+++ b/appengine/findit/util_scripts/iterator.py
@@ -36,9 +36,9 @@ def Iterate(query,
Args:
query (ndb.Query): The query to fetch entities.
app_id (str): App engine app id.
- fields (list): Field names of an datastore model entity to be projected
- to a dict. If None provided, return the entities instead of projected
- dict.
+ fields (list or None): Field names of an datastore model entity to be
+ projected to a dict. If None provided, return the entities instead of
+ projected dict.
filter_func (function): A function that does in memory filtering.
batch_size (int): The number of entities to query at one time.
batch_run (bool): If True, iterate batches of entities, if
« no previous file with comments | « appengine/findit/util_scripts/crash_queries/delta_test/run-predator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698