get_connection_file

In [ ]:
get_connection_file()

Gets (and creates, if necessary) the auto-connection file. If the environment variable 'VERTICAPY_CONNECTIONS' is set, it is assumed to be the full path to the connections file. Otherwise, we reference "connections.verticapy" in the hidden ".verticapy" folder in the user's home directory.

Returns

string : the full path to the auto-connection file.

Example

In [21]:
from verticapy.connect import get_connection_file
get_connection_file()
Out[21]:
'/Users/Badr/.vertica/connections.verticapy'