ckingbailey / covid-etl

Load COVID data sources into a Google Sheet
GNU Affero General Public License v3.0
0 stars 0 forks source link

Fix gcloud deploy for fetch_data #6

Closed ckingbailey closed 4 years ago

ckingbailey commented 4 years ago

GCloud Python Functions expect to call a named function from a file, rather than to execute a file with a function call in it. Currently we are doing the latter. Make it work like the former. Also, make sure the function named in the GCloud setup is the same as the target function in the file.

ckingbailey commented 4 years ago

This might help https://docs.python.org/2/tutorial/modules.html