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

potiuk 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 ad9bbf9530f Evaluate None in SQLAlchemy's extended JSON type decorator 
(#45119)
ad9bbf9530f is described below

commit ad9bbf9530fdcb7d4e124d9b2c806709368d8055
Author: Shahar Epstein <[email protected]>
AuthorDate: Sat Dec 21 19:38:23 2024 +0200

    Evaluate None in SQLAlchemy's extended JSON type decorator (#45119)
---
 airflow/utils/sqlalchemy.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airflow/utils/sqlalchemy.py b/airflow/utils/sqlalchemy.py
index 541898c1a1c..23597f25a95 100644
--- a/airflow/utils/sqlalchemy.py
+++ b/airflow/utils/sqlalchemy.py
@@ -110,6 +110,8 @@ class ExtendedJSON(TypeDecorator):
 
     cache_ok = True
 
+    should_evaluate_none = True
+
     def load_dialect_impl(self, dialect) -> TypeEngine:
         return dialect.type_descriptor(JSON)
 

Reply via email to