This is an automated email from the ASF dual-hosted git repository.
Lee-W 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 9126a64abab Fix BackfillDagRun.partition_key type annotation (str, not
datetime) (#68432)
9126a64abab is described below
commit 9126a64abab9a3ff41f53cad20b3fddac67395cd
Author: Wei Lee <[email protected]>
AuthorDate: Fri Jun 12 17:01:38 2026 +0800
Fix BackfillDagRun.partition_key type annotation (str, not datetime)
(#68432)
---
airflow-core/src/airflow/models/backfill.py | 2 +-
providers/edge3/docs/img/distributed_architecture.svg | 5 +----
providers/edge3/docs/img/edge_package.svg | 5 +----
3 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/airflow-core/src/airflow/models/backfill.py
b/airflow-core/src/airflow/models/backfill.py
index 96b7535ecfe..65a5e532062 100644
--- a/airflow-core/src/airflow/models/backfill.py
+++ b/airflow-core/src/airflow/models/backfill.py
@@ -210,7 +210,7 @@ class BackfillDagRun(Base):
dag_run_id: Mapped[int | None] = mapped_column(Integer, nullable=True)
exception_reason: Mapped[str | None] = mapped_column(StringID(),
nullable=True)
logical_date: Mapped[datetime] = mapped_column(UtcDateTime, nullable=True)
- partition_key: Mapped[datetime] = mapped_column(StringID(), nullable=True)
+ partition_key: Mapped[str | None] = mapped_column(StringID(),
nullable=True)
sort_ordinal: Mapped[int] = mapped_column(Integer, nullable=False)
backfill = relationship("Backfill",
back_populates="backfill_dag_run_associations")
diff --git a/providers/edge3/docs/img/distributed_architecture.svg
b/providers/edge3/docs/img/distributed_architecture.svg
index 1bbb56c6fce..3aa77cc590a 100644
--- a/providers/edge3/docs/img/distributed_architecture.svg
+++ b/providers/edge3/docs/img/distributed_architecture.svg
@@ -1,4 +1 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Do not edit this file with editors other than draw.io -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg xmlns="http://www.w3.org/2000/svg" style="background-color: rgb(255, 255,
255);" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1313px"
height="650px" viewBox="-0.5 -0.5 1313 650" content="<mxfile
host="cwiki.apache.org" modified="2025-04-27T20:09:54.050Z"
agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:136.0) Gecko/20100101
Firefox/136.0" etag="FpFJgG-N56l8xpwPFAtq"
version="24.4.0" type="atlas" scale [...]
+<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff;
background-color: light-dark(#ffffff, #121212);"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1313px"
height="650px" viewBox="0 0 1313 650"><defs/><rect fill="#ffffff" width="100%"
height="100%" x="0" y="0" style="fill: light-dark(rgb(255, 255, 255), rgb(18,
18, 18));"/><g><g data-cell-id="0"><g data-cell-id="1"><g
data-cell-id="6a7d8f32e03d9370-61"><g><rect x="820" y="70" width="493"
height="360" fill [...]
diff --git a/providers/edge3/docs/img/edge_package.svg
b/providers/edge3/docs/img/edge_package.svg
index 24408170c9c..1c0cd8e2464 100644
--- a/providers/edge3/docs/img/edge_package.svg
+++ b/providers/edge3/docs/img/edge_package.svg
@@ -1,4 +1 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Do not edit this file with editors other than draw.io -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg xmlns="http://www.w3.org/2000/svg" style="background-color: rgb(255, 255,
255);" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1091px"
height="561px" viewBox="-0.5 -0.5 1091 561" content="<mxfile
host="cwiki.apache.org" modified="2025-04-27T20:17:45.388Z"
agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:136.0) Gecko/20100101
Firefox/136.0" etag="gPkWIMjSOMdvw7VuzY7t"
version="24.4.0" type="atlas" scale [...]
+<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff;
background-color: light-dark(#ffffff, #121212);"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1091px"
height="561px" viewBox="0 0 1091 561"><defs/><rect fill="#ffffff" width="100%"
height="100%" x="0" y="0" style="fill: light-dark(rgb(255, 255, 255), rgb(18,
18, 18));"/><g><g data-cell-id="0"><g data-cell-id="1"><g
data-cell-id="8oGhCDMDDz6uKVvcpTdT-1"><g><rect x="647.85" y="50" width="440"
height="320 [...]