rawwar commented on code in PR #46950:
URL: https://github.com/apache/airflow/pull/46950#discussion_r1968896660


##########
providers/amazon/src/airflow/providers/amazon/aws/hooks/glue.py:
##########
@@ -270,7 +274,7 @@ def display_logs_from(log_group: str, continuation_token: 
str | None) -> str | N
                 self.log.info("No new log from the Glue Job in %s", log_group)
             return next_token
 
-        log_group_prefix = self.conn.get_job_run(JobName=job_name, 
RunId=run_id)["JobRun"]["LogGroupName"]
+        log_group_prefix = job_run["LogGroupName"]

Review Comment:
   I was thinking of making it a property. But, I'll see how often its used 
across and do refactoring as part of another PR



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