github-actions[bot] opened a new pull request, #64607:
URL: https://github.com/apache/airflow/pull/64607
`get_uri()` warns about underscores in `conn_type`, but standard Airflow
connection types like `google_cloud_platform` inherently contain underscores.
The warning is not actionable for users since:
1. Standard provider connection types (google_cloud_platform, etc.) are
defined with underscores by the providers themselves
2. `get_uri()` already handles this correctly on the very next line by
converting underscores to dashes: `self.conn_type.lower().replace('_',
'-')`
3. Connections stored via Secrets Manager backends trigger this warning
on every connection retrieval during task execution, producing noisy
logs with no remediation path
The underscore-to-dash conversion in the URI output remains intact,
ensuring RFC3986 compliance of the generated URI.
(cherry picked from commit b653b4d165a0587800c2a54c292a321c9a93d153)
Co-authored-by: Michael Black
<[email protected]>
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
--
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]