Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

feat(datastore): add missing method for system test with emulator#19

Merged
crwilcox merged 3 commits intogoogleapis:masterfrom
MaxxleLLC:datastore_issue_5
Apr 7, 2020
Merged

feat(datastore): add missing method for system test with emulator#19
crwilcox merged 3 commits intogoogleapis:masterfrom
MaxxleLLC:datastore_issue_5

Conversation

@HemangChothani
Copy link
Contributor

Towards bigtable-5

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 2, 2020
@crwilcox
Copy link
Contributor

crwilcox commented Apr 2, 2020

Where is the code that uses this?

@HemangChothani
Copy link
Contributor Author

Here method has called but implementation was not there.

def tearDownClass(cls):
# In the emulator, destroy the query entities.
if os.getenv(GCD_DATASET) is not None:
# Use the client for this test instead of the global.
clear_datastore.remove_all_entities(client=cls.CLIENT)

@crwilcox
Copy link
Contributor

crwilcox commented Apr 7, 2020

Have you validated this locally, or would this run in ci? I ask as delete_multi can only take so many keys at once.

@HemangChothani
Copy link
Contributor Author

I have validate locally, it works fine and delete all the keys.

@crwilcox crwilcox merged commit bf8b897 into googleapis:master Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants