1

When creating a function to run on GCP Cloud Functions, do you need to include the functions framework for Python as a requirement in your requirements.txt file?

The official repository suggests that you don't:

On Cloud Functions, using the Functions Framework is not necessary: you don't need to add it to your requirements.txt file.

But the official documentation suggests that you do:

Your requirements.txt file must include the Functions Framework for Python as a dependency

ianyoung
  • 2,863
  • 4
  • 26
  • 31

0 Answers0