diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4bdc1a9..df44360 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,4 +39,4 @@ jobs: --trigger-http \ --allow-unauthenticated \ --clear-secrets \ - --set-env-vars 'DATASET=${{ secrets.TABLE }}','TABLE=${{ secrets.DATASET }}' \ No newline at end of file + --set-env-vars 'DATASET=${{ secrets.DATASET }}','TABLE=${{ secrets.TABLE }}' \ No newline at end of file diff --git a/main.py b/main.py index db4c3bc..fc967cc 100644 --- a/main.py +++ b/main.py @@ -10,15 +10,11 @@ def record_data(temp: str) -> tuple: try: - print('record_data raw input:', temp) - # Init BigQuery client = bigquery.client.Client() dataset_ref = client.dataset(os.environ.get('DATASET')) table_ref = dataset_ref.table(os.environ.get('TABLE')) - print('table_ref:', table_ref, '\n') - # Insert rows errors = client.insert_rows( table_ref,