Loading...

verticapy.connection.global_connection.GlobalConnection.get_connection#

GlobalConnection.get_connection() Connection#

Returns the current connection.

Examples#

The following code demonstrates the usage of the function.

# Import the Global Connection.
from verticapy.connection.global_connection import get_global_connection

# Example
get_global_connection().get_connection()

Note

These functions serve as utilities to construct others, simplifying the overall code.