Google Certified Professional Data Engineer

Sign Up Free or Log In to participate!

Gen_thumbail python code

Hi, when we deploy the gen_thumbnail cloud function, we don’t specify the  

then how,

1. packages are installed

2. how the function is getting its values namely data and context

1 Answers

Hi Thiru

When we deploy the function, the code in our local working directory is used (including and 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!

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?