dirrao commented on code in PR #37873:
URL: https://github.com/apache/airflow/pull/37873#discussion_r1511104602
##########
airflow/providers/amazon/aws/hooks/glue.py:
##########
@@ -245,8 +245,9 @@ def display_logs_from(log_group: str, continuation_token:
str | None) -> str | N
if e.response["Error"]["Code"] == "ResourceNotFoundException":
# we land here when the log groups/streams don't exist yet
self.log.warning(
- "No new Glue driver logs so far.\nIf this persists,
check the CloudWatch dashboard "
- f"at:
https://{self.conn_region_name}.console.aws.amazon.com/cloudwatch/home"
+ "No new Glue driver logs so far.\n"
+ "If this persists, check the CloudWatch dashboard at:
%r.",
+
f"https://{self.conn_region_name}.console.aws.amazon.com/cloudwatch/home",
Review Comment:
LGTM. can we avoid f-string here?
"https://%s.console.aws.amazon.com/cloudwatch/home", self.conn_region_name
--
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]