This is an automated email from the ASF dual-hosted git repository.
vatsrahul1001 pushed a commit to branch v3-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-3-test by this push:
new 3cf17233771 Fix missed rename of BaseStateBackend to BaseStoreBackend
(#69160) (#69162)
3cf17233771 is described below
commit 3cf17233771222ad446ba1ff03341f025cce84d1
Author: Amogh Desai <[email protected]>
AuthorDate: Tue Jun 30 10:37:59 2026 +0530
Fix missed rename of BaseStateBackend to BaseStoreBackend (#69160) (#69162)
(cherry picked from commit 83c93f13440ed76296d056fe8c95757d8c9dc964)
---
airflow-core/src/airflow/config_templates/config.yml | 4 ++--
airflow-core/tests/unit/state/test_metastore.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/airflow-core/src/airflow/config_templates/config.yml
b/airflow-core/src/airflow/config_templates/config.yml
index 39423755a68..975e6ba1121 100644
--- a/airflow-core/src/airflow/config_templates/config.yml
+++ b/airflow-core/src/airflow/config_templates/config.yml
@@ -3281,11 +3281,11 @@ state_store:
backend:
description: |
Full dotted path to the class that implements state storage for tasks
and assets.
- The class must be a subclass of ``BaseStateBackend``.
+ The class must be a subclass of ``BaseStoreBackend``.
The default implementation persists state in the Airflow metadata
database.
version_added: 3.3.0
type: string
- example: "mypackage.state.CustomStateBackend"
+ example: "mypackage.state.CustomStoreBackend"
default: "airflow.state.metastore.MetastoreBackend"
clear_on_success:
description: |
diff --git a/airflow-core/tests/unit/state/test_metastore.py
b/airflow-core/tests/unit/state/test_metastore.py
index a2d2d103dd0..732cece1458 100644
--- a/airflow-core/tests/unit/state/test_metastore.py
+++ b/airflow-core/tests/unit/state/test_metastore.py
@@ -704,6 +704,6 @@ class TestResolveStoreBackend:
@conf_vars({("state_store", "backend"): "airflow.models.dagrun.DagRun"})
def test_invalid_backend_raises_type_error(self):
- """resolve_state_backend() raises TypeError when the configured class
is not a BaseStateBackend subclass."""
+ """resolve_state_backend() raises TypeError when the configured class
is not a BaseStoreBackend subclass."""
with pytest.raises(TypeError, match="not a subclass of
`BaseStoreBackend`"):
resolve_state_backend()