ckingbailey / covid-etl

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

modularize fetch_data function for GCP deployment #7

Closed ckingbailey closed 4 years ago

ckingbailey commented 4 years ago

resolves #6

Currently the main.py file within the fetch_data folder calls its own main() function. This makes GCP angry. GCP does not do things that way.

This PR puts the call to store_data and fetch_data inside a function fetch_and_store. Then GCP will run this function coz we tell it to.

lwpenny commented 4 years ago

Approved!