def get_conn(self):
conn = self.get_connection(self.vertica_conn_id)<EOL>conn_config = {<EOL>"<STR_LIT:user>": conn.login,<EOL>"<STR_LIT:password>": conn.password or '<STR_LIT>',<EOL>"<STR_LIT>": conn.schema,<EOL>"<STR_LIT:host>": conn.host or '<STR_LIT:localhost>'<EOL>}<EOL>if not conn.port:<EOL><INDENT>conn_config["<STR_LIT:port>"] = <NUM_LIT><EOL><DEDENT>else:<EOL><INDENT>conn_config["<STR_LIT:port>"] = int(conn.port)<EOL><DEDENT>conn = connect(**conn_config)<EOL>return conn<EOL>
Returns verticaql connection object