Skip to content

Commit 68c1cfe

Browse files
committed
fix: formatting
1 parent 56b7e98 commit 68c1cfe

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

firestore/cloud-client/snippets.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -702,11 +702,12 @@ def on_snapshot(col_snapshot, changes, read_time):
702702
u'population': 860000
703703
}
704704
db.collection(u'cities').document(u'SF').set(data)
705-
705+
706706
# Wait for 'SF' to be in the doc_map for up to 60 seconds.
707707
waited = 0
708-
while waited < 60 and not [x for x in query_watch.doc_map.keys() if x.endswith('/SF')]:
709-
waited += 1
708+
while waited < 60 and not [
709+
x for x in query_watch.doc_map.keys() if x.endswith("/SF")
710+
]: waited += 1
710711
sleep(1)
711712

712713
query_watch.unsubscribe()

0 commit comments

Comments
 (0)