8000 fix: typo in fs_update_document_increment sample (#2427) · dalequark/python-docs-samples@44d1d15 · GitHub
[go: up one dir, main page]

Skip to content

Commit 44d1d15

Browse files
BenWhiteheadandrewferlitsch
authored andcommitted
fix: typo in fs_update_document_increment sample (GoogleCloudPlatform#2427)
Fixes GoogleCloudPlatform#2374
1 parent bd939ef commit 44d1d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firestore/cloud-client/snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,5 +881,5 @@ def update_document_increment(db):
881881
# [START fs_update_document_increment]
882882
washington_ref = db.collection(u'cities').document(u'DC')
883883

884-
washington_ref.update("population", firestore.Increment(50))
884+
washington_ref.update({"population": firestore.Increment(50)})
885885
# [END fs_update_document_increment]

0 commit comments

Comments
 (0)
0