verticapy.connection.change_auto_connection#
- verticapy.connection.change_auto_connection(name: str) None #
Changes the current auto connection.
Parameters#
- name: str
Name of the new auto connection.
Examples#
Create a new connection:
from verticapy.connection import new_connection, change_auto_connection new_connection( { "host": "10.211.55.14", "port": "5433", "database": "testdb", "password": "XxX", "user": "dbadmin", }, name = "my_auto_connection", auto = False, )
Change the auto connection to “my_auto_connection”:
change_auto_connection("my_auto_connection")
See also
new_connection()
: Creates a new VerticaPy connection.