raphaelauv commented on PR #23719:
URL: https://github.com/apache/airflow/pull/23719#issuecomment-1127536940
yes but I'm thinking about the hook itself , currently if I call `get_client`
I have to give the project_id myself, example :
```python
def execute(self, context):
bq_hook = BigQueryHook(
bigquery_conn_id=self.bigquery_conn_id,
use_legacy_sql=self.use_legacy_sql,
delegate_to=self.delegate_to,
location=self.location,
impersonation_chain=self.impersonation_chain,
)
conn = bq_hook.get_client(project_id=self.project_id,
location=self.location)
...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]