Hi, when we deploy the gen_thumbnail cloud function, we don’t specify the main.py.
1. packages are installed
2. how the function is getting its values namely data and context
When we deploy the function, the code in our local working directory is used (including
requirements.txt), which takes care of packages in the deployed function.
The data and context are received by the function when it receives messages from the topic subscription.
Hope this helps!