gopidesupavan commented on code in PR #48760:
URL: https://github.com/apache/airflow/pull/48760#discussion_r2030179283


##########
pyproject.toml:
##########
@@ -780,7 +780,7 @@ banned-module-level-imports = ["numpy", "pandas"]
 "locale.getdefaultlocale".msg = "Use locale.setlocale() and locale.getlocale() 
instead."
 # Deprecated in Python 3.12: https://github.com/python/cpython/issues/103857
 "datetime.datetime.utcnow".msg = "Use airflow.utils.timezone.utcnow or 
datetime.datetime.now(tz=datetime.timezone.utc)"
-"datetime.datetime.utcfromtimestamp".msg = "Use 
airflow.utils.timezone.from_timestamp or 
datetime.datetime.fromtimestamp(tz=datetime.timezone.utc)"
+"datetime.datetimedatetime.utcfromtimestamp".msg = "Use 
airflow.utils.timezone.from_timestamp or 
datetime.datetime.fromtimestamp(tz=datetime.timezone.utc)"

Review Comment:
   `datetimedatetime ` is this intentionally changed or mistake?



-- 
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]

Reply via email to