ferruzzi commented on code in PR #50093:
URL: https://github.com/apache/airflow/pull/50093#discussion_r2076248974
##########
airflow-core/src/airflow/models/deadline.py:
##########
@@ -16,22 +16,28 @@
# under the License.
from __future__ import annotations
-from datetime import datetime
-from typing import TYPE_CHECKING
+import logging
+import sys
+from datetime import datetime, timedelta
+from enum import Enum
+from typing import TYPE_CHECKING, Callable
import sqlalchemy_jsonfield
import uuid6
-from sqlalchemy import Column, DateTime, ForeignKey, Index, Integer, String
+from sqlalchemy import Column, ForeignKey, Index, Integer, String
from sqlalchemy_utils import UUIDType
from airflow.models.base import Base, StringID
from airflow.settings import json
from airflow.utils.log.logging_mixin import LoggingMixin
from airflow.utils.session import NEW_SESSION, provide_session
+from airflow.utils.sqlalchemy import UtcDateTime
if TYPE_CHECKING:
from sqlalchemy.orm import Session
+log = logging.getLogger(__name__)
Review Comment:
good catch
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]