Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- grafana
- 루프백주소
- sparkstreaming
- airflow
- Dag
- 설치
- Streamlit
- MSA
- aiagent
- spark
- 오블완
- airflow설치
- prometheus
- ubuntu
- SQL
- RAG
- hadoop
- docker
- Redshift
- kafka
- javascript
- pySpark
- jmx-exporter
- BigQuery
- amazonlinux
- dockercompose
- milvus
- Python
- metadabatase
- vectorDB
Archives
- Today
- Total
목록googlesheet (1)
데이터 노트
[BigQuery] Python, BigQuery, Google Sheet 연동 시 credential 에러
에러 내용credentials = service_account.Credentials.from_service_account_file(KEY_PATH, scopes)TypeError: Credentials.from_service_account_file() takes 2 positional arguments but 3 were given 상황BigQuery까지만 연동 + scopes를 추가하지 않고 실행 했을 때는 문제가 없었는데,Google Sheet 추가 연결을 위해 scopes 작성이 필요해 작성하고 credential에 추가하였더니 오류가 발생. 해결 방안scopes와 key path를 분리하여 작성하는 형식으로 코드 수정credentials = service_account.Credentials.fro..
Data Engineering/DB
2023. 6. 7. 13:46