This is an automated email from the ASF dual-hosted git repository.

jedcunningham pushed a commit to branch v2-9-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 083a781d1f01818cc1ecba05b1651880d5addae8
Author: Andrey Anshin <[email protected]>
AuthorDate: Mon Apr 15 12:51:28 2024 +0400

    Undeprecate `BaseXCom.get_one` method for now (#38991)
    
    (cherry picked from commit 260d3fd6e2c7437e69f9a2a701923ee8333b9535)
---
 airflow/models/xcom.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/airflow/models/xcom.py b/airflow/models/xcom.py
index be55837770..f9afda123c 100644
--- a/airflow/models/xcom.py
+++ b/airflow/models/xcom.py
@@ -29,7 +29,6 @@ from functools import cached_property, wraps
 from typing import TYPE_CHECKING, Any, Generator, Iterable, cast, overload
 
 import attr
-from deprecated import deprecated
 from sqlalchemy import (
     Column,
     ForeignKeyConstraint,
@@ -370,7 +369,6 @@ class BaseXCom(TaskInstanceDependencies, LoggingMixin):
     @staticmethod
     @provide_session
     @internal_api_call
-    @deprecated
     def get_one(
         execution_date: datetime.datetime | None = None,
         key: str | None = None,

Reply via email to