apache / apache/airflow

Refactor IntermediateTIState enum across Airflow components

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

Description

### Description

- Move IntermediateTIState enum from airflow.utils.state to right location
- Update all imports in airflow-core to use the new IntermediateTIState location
- Add deprecation warning in airflow.utils.init.py for backward compatibility

### Use case/motivation

_No response_

### Related issues

https://github.com/apache/airflow/issues/53385
https://github.com/apache/airflow/issues/51671

### Are you willing to submit a PR?

- [x] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Research direction

Start by locating IntermediateTIState in airflow.utils.state and review the related issues #53385 and #51671 to determine its intended new location. Update the airflow-core imports and add the backward-compatibility deprecation handling in airflow.utils.init.py; the work is done when all specified imports use the new location without breaking the old one.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.