Skip to content

Commit cec3a39

Browse files
committed
Partway to fixing 'clear_datastore'.
Note that this script likely needs more fixups.
1 parent 7a04aac commit cec3a39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

regression/clear_datastore.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535

3636
def fetch_keys(dataset, kind, fetch_max=FETCH_MAX, query=None, cursor=None):
3737
if query is None:
38-
query = Query(kind=kind, dataset=dataset, projection=['__key__'])
38+
query = Query(
39+
dataset_id=dataset.id(), kind=kind, projection=['__key__'])
3940

4041
iterator = query.fetch(limit=fetch_max, start_cursor=cursor)
4142

0 commit comments

Comments
 (0)