Adaverse commented on code in PR #32089:
URL: https://github.com/apache/airflow/pull/32089#discussion_r1239623477
##########
airflow/providers/vertica/hooks/vertica.py:
##########
@@ -45,6 +45,51 @@ def get_conn(self) -> connect:
conn_config["port"] = 5433
else:
conn_config["port"] = int(conn.port)
+
+ if conn.extra_dejson.get("connection_load_balance", False):
Review Comment:
Can we fetch `extra` dict by calling `conn.extra_dejson` once rather than
calling it repeatedly? It makes it look very wordy
--
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]