fix python 3.8 compat for edoxid calendar sync

apache/airflow:2.7.1 base image ships Python 3.8, which doesn't have
zoneinfo (3.9+) and can't evaluate `X | Y` / list[X] type hints at
runtime (3.10+). Add `from __future__ import annotations` everywhere
and swap zoneinfo -> pytz (already a dependency in this repo).
This commit is contained in:
Power BI Dev
2026-07-27 22:10:10 +07:00
parent 33f4666bad
commit e0a6efd204
6 changed files with 27 additions and 12 deletions
+2
View File
@@ -1,3 +1,5 @@
from __future__ import annotations
from datetime import date, datetime
import pymysql