sempy_labs.operations_agent package

Module contents

sempy_labs.operations_agent.delete_operations_agent(operations_agent: str | UUID, workspace: str | UUID | None = None)

Deletes an Operations Agent from the specified workspace.

This is a wrapper function for the following API: Items - Delete Operations Agent.

Parameters:
  • operations_agent (str | uuid.UUID) – The Operations Agent name or ID to delete.

  • 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.operations_agent.list_operations_agents(workspace: str | UUID | None = None) DataFrame

Returns a list of Operations Agents from the specified workspace.

This is a wrapper function for the following API: Items - List Operations Agents.

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 Operations Agents within a workspace.

Return type:

pandas.DataFrame