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

eladkal 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 00991d5880 Fix PlainAsserts tests in Database Isolation Mode (#41299)
00991d5880 is described below

commit 00991d5880f943b75b8875a22fb724d698c6a2b5
Author: Jens Scheffler <[email protected]>
AuthorDate: Wed Aug 7 04:19:27 2024 +0200

    Fix PlainAsserts tests in Database Isolation Mode (#41299)
---
 airflow/utils/types.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airflow/utils/types.py b/airflow/utils/types.py
index abe4003232..c3a6b7e5a9 100644
--- a/airflow/utils/types.py
+++ b/airflow/utils/types.py
@@ -57,6 +57,8 @@ class AttributeRemoved:
         self.attribute_name = attribute_name
 
     def __getattr__(self, item):
+        if item == "attribute_name":
+            return super().__getattribute__(item)
         raise RuntimeError(
             f"Attribute {self.attribute_name} was removed on "
             f"serialization and must be set again - found when accessing 
{item}."

Reply via email to