sempy_labs.theme package

Module contents

sempy_labs.theme.get_org_theme_json(theme: str | UUID) dict

Retrieves the JSON representation of an organization theme by its name or ID.

Parameters:

theme (str | uuid.UUID) – The name or ID of the organization theme.

Returns:

The JSON representation of the organization theme.

Return type:

dict

sempy_labs.theme.list_org_themes() DataFrame

Lists all organizational themes in Power BI. Note that this uses an internal API and may break at any time.

Returns:

A dataframe containing the details of the organizational themes.

Return type:

pandas.DataFrame

sempy_labs.theme.resolve_theme_id(theme: str | UUID)

Resolves the ID of an organization theme by its name or ID.

Parameters:

theme (str | uuid.UUID) – The name or ID of the organization theme.

Returns:

The ID of the organization theme.

Return type:

uuid.UUID