-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Description
Apache Airflow version
Other Airflow 2 version (please specify below)
What happened
Dear Sir/Madam.
In airflow 2.7.0 version
After editing connection in GUI,
Field extra recieves default value of {}, which is not equal to None.
This causes extra={} argument being passed to connection uri.
{} is encoded to %7B%7D, as you can see on screen attached.
The result of default value is attached
It leads to the following error message.
sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) invalid dsn: invalid connection option "extra"
(Background on this error at: https://sqlalche.me/e/14/f405)
What you think should happen instead
I expect that if I leave Extra field empty when creating a connection id, there shall no be extra information.
How to reproduce
We simply create the connection by manually inputing all usual credentials.
Operating System
Linux
Versions of Apache Airflow Providers
apache-airflow-providers-amazon==8.5.1
apache-airflow-providers-postgres==5.6.0
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
