Commit 69a9840
Set next_page_token to none if there are no more result (googleapis#4349)
* Update _process_query_results_done Datastore test
Response ``end_cursor`` might be non-empty as reported in googleapis#4347.
* Set next_page_token to None using MoreResults enum (googleapis#4347)
Depending on empty value of ``response_pb.batch.end_cursor`` is not
reliable as the behaviour is not documented. It's better to check API
response field ``moreResults``, see
https://cloud.google.com/datastore/docs/reference/rpc/google.datastore.v1#google.datastore.v1.QueryResultBatch.1 parent 2bf694b commit 69a9840
2 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
473 | | - | |
| 474 | + | |
474 | 475 | | |
475 | 476 | | |
476 | 477 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
| |||
0 commit comments