Releases: microsoft/semantic-link-labs
Releases · microsoft/semantic-link-labs
semantic-link-labs 0.14.3
New Functions
- sempy_labs
- sempy_labs.admin
- enable_item_recovery enables item recovery in a Fabric tenant.
Updated Functions
- sempy_labs
- vertipaq_analyzer This function has a brand new UI! Plus, new optional parameters (export_lakehouse, export_workspace, export_schema) allow you to export this data as tables to the destination of your choice. This function now displays additional content for Direct Lake semantic models (the Direct Lake Type (OneLake or SQL), Source Name, Source Type, Source Workspace, Source Table Name). The function also shows 'Levels' in the Hierarchy shows the number of levels within the hierarchy. Lastly, the read_stats_from_data will calculate column cardinality for both Import and Direct Lake models (as long as the Direct Lake source is a lakehouse or warehouse). Missing Rows is calculated only for Import models. (#1008, #103).
Bug Fixes
semantic-link-labs 0.14.2
Updates
- Updated sempy_labs to be compatible with Python 3.12 as this is now the default in Fabric notebooks.
Bug Fixes
semantic-link-labs 0.14.1
Updated Functions
- sempy_labs
- delta_analyzer Added a parameter 'visualize' which defaults to True. When 'visualize' is set to True, the function displays the results in an interactive HTML-designed UI. Note that the function still returns the results as a dictionary of dataframes.

semantic-link-labs 0.14.0
New Functions
- sempy_labs.admin
- sempy_labs.key_vault 🚀 New!
- sempy_labs.report
- list_reports Lists the reports in a workspace and their properties (also showing the format of the report ('PBIR' or 'PBIRLegacy').
- get_report Shows the properties of a single report (also showing the format of the report).
- upgrade_to_pbir Upgrades a report, a list of reports or all reports in a given workspace (or list of workspaces) to the PBIR format.
Updated Functions
- sempy_labs.directlake
- update_direct_lake_model_connection Fixed an issue where relationships/measures disappeared when converting from DL on OneLake to DL on SQL.
Bug Fixes
semantic-link-labs 0.13.2
Updated Functions
-
sempy_labs.sql_endpoint
- refresh_sql_endpoint_metadata Added the optional 'recreate_tables' parameter.
-
sempy_labs
- All functions which leverage APIs which can be accessed via Service Principal authentication are now enabled. Previously it was limited to those functions which had the client ‘fabric_sp’ in the _base_api function but that is no longer the case.
Bug Fixes
semantic-link-labs 0.13.1
New Functions
- sempy_labs.event_schema_set 🚀 New!
- sempy_labs.operations_agent 🚀 New!
- sempy_labs.rti 🚀 New package for Real Time Intelligence functions!
- sempy_labs.semantic_model
- enable_query_caching Enable query caching to potentially speed up results. See more details here.
- sempy_labs.surge_protection 🚀 New package for surge protection functions!
Updated Functions
- sempy_labs.directlake
- generate_direct_lake_semantic_model Now supports schema-enabled lakehouses.
- sempy_labs.lakehouse
- get_lakehouse_columns Added the 'Schema Name' column to the resulting dataframe.
Bug Fixes
semantic-link-labs 0.13.0
New Functions
- sempy_labs.daxlib 🚀 New! Semantic Link Labs now offers a seamless integration with DAXLib.org which allows you to easily view user-defined function packages from DAXLib.org as well as add/remove/update these packages in your semantic model. Kudos @edwardpcharles for the inspiration and SQLBI for their support of DAXLib.org.
- sempy_labs.directlake
- get_direct_lake_sources This function replaces the 'get_direct_lake_source' function and is able to retrieve all Direct Lake sources (#660).
- sempy_labs.kql_dashboard 🚀 New!
- list_kql_dashboards
- create_kql_dashboard
- delete_kql_dashboard
- create_workspace_monitoring_dashboard Creates a workspace monitoring dashboard based on this template.
- sempy_labs.report.ReportWrapper
- set_page_order Easily re-order pages (tabs) within a report.
Updated Functions
- sempy_labs
- model_bpa_rules Updated the rule for ensuring measures are formatted. This rule now accounts for format string expressions.
- get_item_definition now supports the EventSchemaSet item.
- sempy_labs.admin
- assign_domain_workspaces Now accepts either the workspace name or ID. Note that the parameter name has changed from 'workspace_names' to 'workspace' (#1040).
- sempy_labs.lakehouse
- optimize_lakehouse_tables Now supports schema-enabled lakehouses. Simply use the 'schema.table' format in the 'tables' parameter.
- vacuum_lakehouse_tables Now supports schema-enabled lakehouses. Simply use the 'schema.table' format in the 'tables' parameter.
- sempy_labs.report
- download_report This function now also supports paginated reports (in addition to Power BI reports). Thanks @MitchSS!
- sempy_labs.tom
- add_field_parameter This function now has the parameter 'hierarchy_names' which allows you to simulate hierarchies within a field parameter.
Functions moved to a new package
- sempy_labs.connection 🚀 New!
- Connection functions have been moved to this new package.
- sempy_labs.data_pipeline 🚀 New!
- Data Pipeline functions have been moved to this new package.
- sempy_labs.external_data_share 🚀 New!
- External Data Share functions have been moved to this new package.
- sempy_labs.gateway 🚀 New!
- Gateway functions have been moved to this new package.
- sempy_labs.git🚀 New!
- Git functions have been moved to this new package.
- sempy_labs.graphql 🚀 New!
- GraphQL functions have been moved to this new package.
- sempy_labs.kql_database 🚀 New!
- KQL Database functions have been moved to this new package.
- sempy_labs.kql_queryset 🚀 New!
- KQL Queryset functions have been moved to this new package.
- sempy_labs.managed_private_endpoint 🚀 New!
- Managed Private Endpoint functions have been moved to this new package.
- sempy_labs.mirrored_database 🚀 New!
- Mirrored Database functions have been moved to this new package.
- sempy_labs.mirrored_warehouse 🚀 New!
- Mirrored Warehouse functions have been moved to this new package.
- sempy_labs.ml_experiment 🚀 New!
- ML Experiment functions have been moved to this new package.
- sempy_labs.mounted_data_factory 🚀 New!
- Mounted Data Factory functions have been moved to this new package.
- sempy_labs.notebook 🚀 New!
- Notebook functions have been moved to this new package.
- sempy_labs.spark 🚀 New!
- Spark functions have been moved to this new package.
- sempy_labs.sql_endpoint 🚀 New!
- SQL Endpoint functions have been moved to this new package.
Bug Fixes
semantic-link-labs 0.12.10
New Functions
- sempy_labs
- list_favorites Lists all items you have marked as a favorite.
- list_endorsements Lists all items which have been endorsed.
- takeover_item_ownership Allows you to take over ownership of a report or semantic model.
- sempy_labs.variable_library
- update_variable Update the properties of a variable (within a variable library).
- update_variable_library Update the properties of a variable library.
- sempy_labs.dataflow 🚀 New!
- execute_query
- list_dataflows, list_dataflow_storage_accounts, assign_workspace_to_dataflow_storage, list_upstream_dataflows, upgrade_dataflow, get_dataflow_definition, discover_dataflow_parameters are now available in the dataflow package. They will remain in sempy_labs for a transition period.
- sempy_labs.eventhouse 🚀 New!
- Functions related to eventhouses are now available in this package. They will remain in sempy_labs for a transition period.
- sempy_labs.semantic_model 🚀 New!
- set_endorsement Sets a semantic model as endorsed (i.e. Promoted, Certified etc.).
- approved_for_copilot Mark a semantic model as approved for Copilot.
- make_discoverable Mark a semantic model as discoverable (must be endorsed first).
Updated Functions
- sempy_labs.report
- set_endorsement added new endorsement settings ('Certified', 'Master data'). (#1024)
Bug Fixes
semantic-link-labs 0.12.9
New Functions
- sempy_labs
- sempy_labs.admin
- sempy_labs.apache_airflow_job 🚀 New!
- sempy_labs.report
- set_endorsement Sets the endorsement for a given Power BI report (#1001).
- sempy_labs.variable_library
- create_variable_library Creates a new variable library in a simplified fashion.
- sempy_labs.warehouse_snapshot 🚀 New!
- sempy_labs.workspace 🚀 New!
- list_workspace_users
- update_workspace_user
- add_user_to_workspace
- delete_user_from_workspace
- assign_to_capacity
- unassign_from_capacity
- list_role_assignments
- delete_workspace
- get_network_communication_policy
- set_network_communication_policy
- get_git_outbound_policy
- set_git_outbound_policy
- get_outbound_cloud_connection_rules
- get_outbound_gateway_rules
- set_outbound_gateway_rules
Updated Functions
- sempy_labs
- get_tables_mirroring_status Added the 'Last Sync Latency In Seconds' column (#1005).
- get_item_definition Now supports the 'Ontology' and 'Lakehouse' items.
- sempy_labs.lakehouse
- create_shortcut_onelake Now supports additional source items (previously only supported lakehouses). Note that the parameter has changed from 'source_lakehouse' to 'source_item' and a new parameter has been added 'source_item_type'. (#501).
Bug Fixes
semantic-link-labs 0.12.8
New Functions
- sempy_labs
- sempy_labs.lakehouse
- is_schema_enabled identifies whether a lakehouse is schema-enabled.
- sempy_labs.snowflake_database
Updated Functions
- sempy_labs
- get_item_definition now supports Snowflake Databases, Cosmos DB Databases, and Operations Agents.