Skip to content

Allow providers to add default connections #32048

@eladkal

Description

@eladkal

Body

Currently we can add default connections only by adding entry to:

def create_default_connections(session: Session = NEW_SESSION):

This means only Airflow core release can add the new default connection which is not in sync with providers.
Examples:
#31533 (comment)

#31787 (comment)

This is a pain because providers support earlier Airflow version (for example right now the minimum Airlfow version supported by providers is Airflow 2.4.0 so even if we add new connection to core and release it with Airflow 2.7.0 the users of 2.4.0 won't have it)

The task:
We need somehow to make it so that providers can add default connections (and extract the existed default provider connections from core)

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corekind:taskA task that needs to be completed as part of a larger issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions