Skip to content

Export StoreScope from airflow.sdk as public interface - #73600

Merged
amoghrajesh merged 2 commits into
apache:mainfrom
astronomer:export-store-scope
Sep 24, 2026
Merged

amoghrajesh merged 2 commits into
apache:mainfrom
astronomer:export-store-scope

Conversation

@amoghrajesh

Copy link
Copy Markdown
Contributor

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Custom state backends have to annotate all eight BaseStoreBackend methods with the TaskScope | AssetScope union, but the SDK only exported the two members, not the union itself. The single public name was missing, so the only way to get it was the private _shared path, which the object storage backend was already depending on. airflow.state already re-exported it on the core side; this brings the SDK in line.


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@amoghrajesh
amoghrajesh merged commit cfcca0d into apache:main Sep 24, 2026
107 checks passed
@amoghrajesh
amoghrajesh deleted the export-store-scope branch September 24, 2026 04:05
shahar1 added a commit to shahar1/airflow that referenced this pull request Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants