Skip to main content

Dataset.get_connection

Dataset.get_connection()

Get the connection this model is associated with.

Parameters:

   None

Returns:

   Connection

Examples:

Get the connection associated with a specific dataset.

    dataset = pc.get_dataset(dataset_name='Titanic Dataset', connection_name='Postgres Connection')
connection = dataset.get_connection()