uranusjr commented on code in PR #34320:
URL: https://github.com/apache/airflow/pull/34320#discussion_r1323997379


##########
airflow/providers/grpc/hooks/grpc.py:
##########
@@ -83,7 +83,7 @@ def get_conn(self) -> grpc.Channel:
         base_url = self.conn.host
 
         if self.conn.port:
-            base_url = base_url + ":" + str(self.conn.port)
+            base_url += f":{self.conn.port}"

Review Comment:
   There are other similar `+=` usages that can be improved in this 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