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

bolke pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 260d3fd6e2 Undeprecate `BaseXCom.get_one` method for now (#38991)
260d3fd6e2 is described below

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

    Undeprecate `BaseXCom.get_one` method for now (#38991)
---
 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