You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2024/12/20 21:16:03 UTC
(airflow) branch v2-10-test updated: [v2-10-test] Evaluate None in SQLAlchemy's extended JSON type decorator (#45119) (#45120)
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 <60...@users.noreply.github.com>
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)