ashb commented on PR #54769:
URL: https://github.com/apache/airflow/pull/54769#issuecomment-3209908844
> Did you check this on different types? can you please add unit tests for
that?
I manually tested it with this:
First set the conneciton:
```bash
export AIRFLOW_CONN_TEST='{"conn_type": "google_cloud_default", "extra":
{"key_path": "/files/airflow-breeze-config/keys2/keys.json", "scope":
"https://www.googleapis.com/auth/cloud-platform", "project": "project_id",
"num_retries": 6}}
```
Than I ran this DAG:
```python
@task
def my_function() -> None:
conn = Connection.get("test")
print(f"{conn.conn_id=} {conn.password=} {conn.extra_dejson=} {conn=}")
with DAG("test_dag") as dag:
my_function()
```
--
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]