From 9d64583fd6d9577aba8ea2828dedc0eff2882fbc Mon Sep 17 00:00:00 2001 From: BenWhitehead Date: Tue, 1 Oct 2019 14:09:36 -0400 Subject: [PATCH] fix: typo in fs_update_document_increment sample Fixes #2374 --- firestore/cloud-client/snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]