This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new e12f9735a33 [v2-10-test] Evaluate None in SQLAlchemy's extended JSON
type decorator (#45119) (#45120)
e12f9735a33 is described below
commit e12f9735a33d8599c75904a394ab3dd8f303a768
Author: Shahar Epstein <[email protected]>
AuthorDate: Fri Dec 20 23:15:56 2024 +0200
[v2-10-test] Evaluate None in SQLAlchemy's extended JSON type decorator
(#45119) (#45120)
---
airflow/utils/sqlalchemy.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/airflow/utils/sqlalchemy.py b/airflow/utils/sqlalchemy.py
index b73757c9875..fe805c3170a 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)