Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def selectCollectionDocument(collection, document):
|
|
46 |
def upsertoftheminute(collection, document, firefield, first, last, born):
|
47 |
date_time = now.strftime("%m/%d/%Y, %H:%M")
|
48 |
doc_ref = db.collection(collection).document(document)
|
49 |
-
doc_ref.set({u'firefield': firefield, u'first': first, u'last': last, u'born':
|
50 |
|
51 |
|
52 |
st.write("singleton stateful connection to cloud firestore")
|
|
|
46 |
def upsertoftheminute(collection, document, firefield, first, last, born):
|
47 |
date_time = now.strftime("%m/%d/%Y, %H:%M")
|
48 |
doc_ref = db.collection(collection).document(document)
|
49 |
+
doc_ref.set({u'firefield': firefield, u'first': first, u'last': last, u'born': date_time,})
|
50 |
|
51 |
|
52 |
st.write("singleton stateful connection to cloud firestore")
|