Skip to content

Document YAML approach for custom connection form fields#63261

Merged
amoghrajesh merged 2 commits intoapache:mainfrom
amoghrajesh:custom-provider-docs
Mar 11, 2026
Merged

Document YAML approach for custom connection form fields#63261
amoghrajesh merged 2 commits intoapache:mainfrom
amoghrajesh:custom-provider-docs

Conversation

@amoghrajesh
Copy link
Contributor

@amoghrajesh amoghrajesh commented Mar 10, 2026

After: #60410 and ongoing community effort via: #62345, connection UI metadata (custom fields and field
behaviour) can be defined declaratively in provider.yaml instead of Python hook methods for providers.

Custom providers written with the Python approach continue to work unchanged but we should update the docs
for community reference.

In this PR, I am updating the docs to show the YAML approach as preferred, with working examples for conn-fields and ui-field-behaviour, while preserving the Python examples under a clearly labeled "legacy" section.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

Copy link
Contributor

@eladkal eladkal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@amoghrajesh amoghrajesh merged commit 15fd063 into apache:main Mar 11, 2026
69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants