delete_connection¶
In [ ]:
delete_connection(name: str)
Deletes a specified connection from the connection file.
Parameters¶
Name | Type | Optional | Description |
---|---|---|---|
name | str | ❌ | Name of the connection. |
Example¶
In [19]:
from verticapy.connect import available_connections, delete_connection
# Displays the available connections
available_connections()
Out[19]:
In [20]:
# Deletes the VerticaDSN_test connection
delete_connection("VerticaDSN_test")
# Displays the available connections
available_connections()
Out[20]: