Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set next_page_token to none if there are no more result (#4349)
* Update _process_query_results_done Datastore test Response ``end_cursor`` might be non-empty as reported in #4347. * Set next_page_token to None using MoreResults enum (#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.
- Loading branch information