apache / apache/airflow

Rename DAG (from models/dag) to SchedulerDAG -- or remove it!

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

Description

### Body

It is easily confused with the DAG in task sdk.

Ideally we can remove. At least rename it.

comment from ash

> That should be renamed as SchedulerDAG really -- (or possibly it can be removed now) -- it's a) a compat import while that part isn't complete, and b) where scheduler specific DAG functions go

### 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 tracing the models/dag module and its compatibility import relationship with the DAG in the task SDK. Determine whether the module can be removed; otherwise identify the references that require the SchedulerDAG name. Done means the ambiguity is eliminated through removal or a consistent rename without leaving incompatible references.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.