diff --git a/firestore/cloud-client/snippets.py b/firestore/cloud-client/snippets.py index d750512bbb0..119bdb839e0 100644 --- a/firestore/cloud-client/snippets.py +++ b/firestore/cloud-client/snippets.py @@ -881,5 +881,5 @@ def update_document_increment(db): # [START fs_update_document_increment] washington_ref = db.collection(u'cities').document(u'DC') - washington_ref.update("population", firestore.Increment(50)) + washington_ref.update({"population": firestore.Increment(50)}) # [END fs_update_document_increment]