Connection.list_objects
Connection.list_objects(df=False)
List possible objects (files, tables, etc.) that can be imported as datasets.
For flat file credentials (S3, GCS, etc.) this will return an empty list.
Parameters:
df: bool, default False
Whether to return a DataFrame or a list of objects.
Returns:
pd.DataFrame
OR
List[ConnectionObject]
Examples:
Get a connection by name.
connection = pc.get_connection('Snowflake Connection')
Display the datsets available for import from this Snowflake connection.
connection.list_objects()