python-docs-samples icon indicating copy to clipboard operation
python-docs-samples copied to clipboard

Add Firestore bulk update python example.

Open sorced-jim opened this issue 1 year ago • 1 comments

Add Firestore bulk update python example.

sorced-jim avatar Feb 21 '24 21:02 sorced-jim

Here is the summary of changes.

You are about to add 1 region tag.

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

snippet-bot[bot] avatar Feb 21 '24 21:02 snippet-bot[bot]

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?

davidcavazos avatar Sep 12 '24 22:09 davidcavazos

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

iennae avatar Sep 20 '24 19:09 iennae