This is an automated email from the ASF dual-hosted git repository. amoghdesai 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 2295fe91b94 Remove remnant references of 'orm_deserialize_value' (#51523) 2295fe91b94 is described below commit 2295fe91b94e11d2d2a2566ca0ad24cfddeef2b2 Author: Amogh Desai <amoghrajesh1...@gmail.com> AuthorDate: Mon Jun 9 16:08:52 2025 +0530 Remove remnant references of 'orm_deserialize_value' (#51523) --- .../tests/unit/api_fastapi/core_api/routes/public/test_xcom.py | 3 --- airflow-core/tests/unit/models/test_xcom.py | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_xcom.py b/airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_xcom.py index 9bcc8138257..50fef1445cb 100644 --- a/airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_xcom.py +++ b/airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_xcom.py @@ -93,9 +93,6 @@ class CustomXCom(BaseXCom): def deserialize_value(cls, xcom): return f"real deserialized {super().deserialize_value(xcom)}" - def orm_deserialize_value(self): - return f"orm deserialized {super().orm_deserialize_value()}" - class TestXComEndpoint: @staticmethod diff --git a/airflow-core/tests/unit/models/test_xcom.py b/airflow-core/tests/unit/models/test_xcom.py index 737b0bc6c8c..a67bbb7343c 100644 --- a/airflow-core/tests/unit/models/test_xcom.py +++ b/airflow-core/tests/unit/models/test_xcom.py @@ -46,8 +46,7 @@ if TYPE_CHECKING: from sqlalchemy.orm import Session -class CustomXCom(BaseXCom): - orm_deserialize_value = mock.Mock() +class CustomXCom(BaseXCom): ... @pytest.fixture(autouse=True)