Skip to content

Commit 40e9fbd

Browse files
committed
fix import error with uuid6
1 parent 2888c93 commit 40e9fbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0efbd67d6ffaa5c4012e56eaf0cce8f2dba723f3f6d96d3e258beba726a4b194
1+
be8c0cf5047a875a8d1934f71e9c93b6102f2b42b8ef59708fda06452d31136b

airflow-core/src/airflow/migrations/versions/0060_3_0_0_add_try_id_to_ti_and_tih.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def upgrade():
9797
op.execute(MYSQL_UUID7_FN_DROP)
9898

9999
elif dialect_name == "sqlite":
100-
from uuid import uuid7
100+
from uuid6 import uuid7
101101

102102
stmt = text("SELECT COUNT(*) FROM task_instance WHERE try_id IS NULL")
103103
conn = op.get_bind()

0 commit comments

Comments
 (0)