apache / apache/airflow

Consider shorter / lesser verbose standard provider import path for users

Open
#46,309 5 comments 3 reactions 0 assignees View on GitHub
area:providers kind:meta
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 10h
Merged PRs (30d)
483

Description

### Body

A discussion maybe for later, but the entire canonical path in dags, like:
```
from airflow.providers.standard.operators.empty import EmptyOperator
```

seems to be pretty verbose. Consider having something like:
```
from airflow.providers.standard import EmptyOperator
```

OR

```
from airflow.providers.standard.operators import EmptyOperator
```

### Committer

- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the canonical provider import path shown in the issue and locating its uses in DAGs. Compare the proposed shorter import forms and document or implement a consistent public import path, with completion demonstrated by updated imports and validation that the existing provider exports remain usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.