sempy_labs.mounted_data_factory package
Module contents
- sempy_labs.mounted_data_factory.delete_mounted_data_factory(mounted_data_factory: str | UUID, workspace: str | UUID | None)
Deletes the specified mounted data factory.
This is a wrapper function for the following API: Items - Delete Mounted Data Factory.
- Parameters:
mounted_data_factory (str | uuid.UUID) – The name or ID of the mounted data factory.
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.
- sempy_labs.mounted_data_factory.get_mounted_data_factory_definition(mounted_data_factory: str | UUID, workspace: str | UUID | None = None) dict
Returns the specified MountedDataFactory public definition.
This is a wrapper function for the following API: Items - Get Mounted Data Factory Definition.
- Parameters:
mounted_data_factory (str | uuid.UUID) – The name or ID of the mounted data factory.
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:
The ‘mountedDataFactory-content.json’ file from the mounted data factory definition.
- Return type:
- sempy_labs.mounted_data_factory.list_mounted_data_factories(workspace: str | UUID | None = None) DataFrame
Shows a list of mounted data factories from the specified workspace.
This is a wrapper function for the following API: Items - List Mounted Data Factories.
- 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 a list of mounted data factories from the specified workspace.
- Return type: