apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
35.26k stars 13.78k forks source link

Fix failure of "Add connection" introduced by influxdb change #40469

Closed potiuk closed 5 days ago

potiuk commented 5 days ago

The #40439 introduced new attributes for influxdb widgets, with the InputRequired validator, which should not be used on connection fields, because the fields are all present in the form for all connection types, and they are just "hidden" dynamically per connection type. This PR removes InputRequired validation for those


^ Add meaningful description above Read the Pull Request Guidelines for more information. In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed. In case of a new dependency, check compliance with the ASF 3rd Party License Policy. In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.