python-docs-samples
python-docs-samples copied to clipboard
Add Firestore bulk update python example.
Add Firestore bulk update python example.
Here is the summary of changes.
You are about to add 1 region tag.
- firestore/cloud-client/snippets.py:456, tag
firestore_data_bulk_writes
This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:
- [ ] Refresh this comment
Traceback (most recent call last):
File "/workspace/firestore/cloud-client/snippets_test.py", line 198, in test_update_data_bulk
write_results = snippets.update_data_bulk()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/firestore/cloud-client/snippets.py", line 459, in update_data_bulk
batch = firestore_v1.BulkWriteBatch(db)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'google.cloud.firestore_v1' has no attribute 'BulkWriteBatch'. Did you mean: 'WriteBatch'?
Is this a typo?
This hasn't had any progress for a few months so I'm going to close it out. Please feel free to reopen when there is an update for @daniel-sanche