apache / apache/airflow

Remove relative_fileloc

Open
#45,623 5 comments 0 reactions 0 assignees View on GitHub
area:core
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 7h
Merged PRs (30d)
484

Description

With the introduction of dag bundles, there's no longer a need for the fileloc / relative fileloc disctinction. _All_ dags are defined through bundles, so we can always just store the path relative to the bundle root.

Note that even if a bundle stores dags in a subfolder, the fileloc on the dag object should always be relative to the bundle root.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the fileloc and relative fileloc concepts through the DAG bundle implementation and their usages. Verify how DAGs in bundle subfolders are represented, then remove the distinction so every DAG path is relative to its bundle root. Done means the old distinction is no longer needed and the stated path rule holds consistently.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.