Skip to content

Remove all imports of State in task-sdk from airflow core #55166

@sunank200

Description

@sunank200

Description

This can be done in two parts:
Part 1:
Remove all imports of State in task-sdk from airflow core

Part 2:

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

Use case/motivation

No response

Related issues

#53385
#51671

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions