sempy_labs.snowflake_database package
Module contents
- sempy_labs.snowflake_database.delete_snowflake_database(snowflake_database: str | UUID, workspace: str | UUID | None = None)
Deletes a Fabric snowflake database.
This is a wrapper function for the following API: Items - Delete Snowflake Database.
Service Principal Authentication is supported (see here for examples).
- sempy_labs.snowflake_database.list_snowflake_databases(workspace: str | UUID | None = None) DataFrame
Shows the snowflake databases within a workspace.
This is a wrapper function for the following API: Items - List Snowflake Databases.
Service Principal Authentication is supported (see here for examples).
- Parameters:
workspace (str | uuid.UUID, default=None) – The Fabric workspace name or ID. Defaults to None which resolves to the workspace of the attached lakehouse or if no lakehouse attached, resolves to the workspace of the notebook.
- Returns:
A pandas dataframe showing the snowflake databases within a workspace.
- Return type: