Dev-iL commented on code in PR #53791:
URL: https://github.com/apache/airflow/pull/53791#discussion_r2240344270
##########
providers/standard/src/airflow/providers/standard/sensors/time.py:
##########
@@ -42,7 +42,10 @@ class StartTriggerArgs: # type: ignore[no-redef]
timeout: datetime.timedelta | None = None
-from airflow.utils import timezone
+try:
+ from airflow.sdk import timezone
Review Comment:
Why should I be accessing a protected member of the module? Are you worried
about circular imports? Finally - if it's wrong, how come none of the tests
failed?
--
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]