Skip to content

Commit

Permalink
update readme a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
linhsolar committed Jan 6, 2024
1 parent 9b8b363 commit 5fc5eb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tutorials/airflow/alarmanalytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ It is also possible to setup BigQuery service account and a table in BigQuery so
A service account is created with a permission to update data. In the code, we use Airflow Variable to store the bigquery service account under **bigquery-{PROJECT_ID}**:
```python
#just for flexibility to switch from a project to another for testing
PROJECT_ID="cs-e4640-bdp-339416" #aalto-t313-cs-e4640
PROJECT_ID="cs-e4640"
BIGQUERY_CONF={
"table_id":f'{PROJECT_ID}.btsanalytics.StationAnalytics',
"project_id": PROJECT_ID
Expand Down
4 changes: 2 additions & 2 deletions tutorials/airflow/alarmanalytics/bts_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@

#this configuration can be loaded frome somewhere, e.g., variable
GCS_CONF={
"bucket":"airflowexamples",
"bucket":"bts_analytics_report" #"airflowexamples",
"subspace":"hotdata",
"gcp_conn_id":'bdp_gcloud_storage'
}
#just for flexibility to switch from a project to another for testing
PROJECT_ID="cs-e4640-bdp-339416" #aalto-t313-cs-e4640
PROJECT_ID="cs-e4640" #aalto
BIGQUERY_CONF={
"table_id":f'{PROJECT_ID}.btsanalytics.StationAnalytics',
"project_id": PROJECT_ID
Expand Down

0 comments on commit 5fc5eb7

Please sign in to comment.