79178967

Date: 2024-11-11 20:04:55
Score: 1
Natty:
Report link

Figured out the below answer in the Firebase repo fixes the issue:

I've discovered if I move the db = firestore.client() into my cloud function, I'm able to deploy.

https://github.com/firebase/firebase-functions-python/issues/126#issuecomment-1682542027

It's really weird that Google does not update the docs or fixes the issue, but for now, this answer unblocks me, hope it helps others too.

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: haven-way