o-nikolas commented on code in PR #27458:
URL: https://github.com/apache/airflow/pull/27458#discussion_r1011093560


##########
airflow/providers/amazon/aws/operators/emr.py:
##########
@@ -622,6 +624,7 @@ def __init__(
         self.configuration_overrides = configuration_overrides
         self.wait_for_completion = wait_for_completion
         self.config = config or {}
+        self.name = name or self.config.pop("name", 
f"emr_serverless_job_airflow_{str(uuid4())}")

Review Comment:
   Small nit I just realized, you shouldn't need the `str(...)` around the 
uuid, since the f-string will cast it to a string for you.



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