When triggering a Python function for Firestore the data of the document comes whithin the event in the form of: { 'value': { 'fields': { 'count': { 'integerValue': '0' }, 'verified': { 'booleanValue': False }, 'user': { 'stringValue': 'Matt' } } } } Is there a Firestore function to convert the 'fields' key to a dictionary like:
{ 'count': 0, 'verified': False, 'user': 'Matt', } When using JavaScript Functions one can get the data from the event as properties, is there something in Firestore likewise. According to the answers in this <https://stackoverflow.com/questions/54612992/simplify-dictionary-in-python-from-a-firestore-trigger-event#54613366> question in SO, my best bet is to get the data straight from Firestore instead of writing some extra lines of code. Best Regards Edgard -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/890fe3c6-e155-4bea-aa9c-8aca6e38c3b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.