semantic-link-labs 0.7.2__tar.gz → 0.7.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of semantic-link-labs might be problematic. Click here for more details.
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/PKG-INFO +3 -2
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/README.md +2 -1
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/docs/source/conf.py +1 -1
- semantic_link_labs-0.7.3/notebooks/Migration to Direct Lake.ipynb +1 -0
- semantic_link_labs-0.7.3/notebooks/Model Optimization.ipynb +1 -0
- semantic_link_labs-0.7.3/notebooks/Warehouse.ipynb +1 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/pyproject.toml +1 -1
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/semantic_link_labs.egg-info/PKG-INFO +3 -2
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/semantic_link_labs.egg-info/SOURCES.txt +8 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/__init__.py +60 -3
- semantic_link_labs-0.7.3/src/sempy_labs/_bpa_translation/_translations_sv-SE.po +914 -0
- semantic_link_labs-0.7.3/src/sempy_labs/_clear_cache.py +337 -0
- semantic_link_labs-0.7.3/src/sempy_labs/_dataflows.py +130 -0
- semantic_link_labs-0.7.3/src/sempy_labs/_deployment_pipelines.py +171 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_generate_semantic_model.py +148 -27
- semantic_link_labs-0.7.3/src/sempy_labs/_git.py +380 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_helper_functions.py +57 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_list_functions.py +144 -121
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_model_bpa.py +85 -83
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_model_bpa_bulk.py +3 -1
- semantic_link_labs-0.7.3/src/sempy_labs/_model_bpa_rules.py +830 -0
- semantic_link_labs-0.7.3/src/sempy_labs/_sql.py +96 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_translations.py +0 -1
- semantic_link_labs-0.7.3/src/sempy_labs/_workspace_identity.py +66 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/__init__.py +2 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/_directlake_schema_compare.py +1 -2
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/_dl_helper.py +4 -7
- semantic_link_labs-0.7.3/src/sempy_labs/directlake/_generate_shared_expression.py +85 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/_show_unsupported_directlake_objects.py +1 -2
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/lakehouse/_get_lakehouse_tables.py +7 -3
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/migration/_migrate_calctables_to_lakehouse.py +5 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/migration/_migrate_calctables_to_semantic_model.py +5 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/migration/_migrate_model_objects_to_semantic_model.py +6 -2
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/migration/_migrate_tables_columns_to_semantic_model.py +6 -5
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/migration/_migration_validation.py +6 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_report_functions.py +21 -42
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_report_rebind.py +5 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/tom/_model.py +91 -52
- semantic_link_labs-0.7.2/notebooks/Migration to Direct Lake.ipynb +0 -1
- semantic_link_labs-0.7.2/notebooks/Model Optimization.ipynb +0 -1
- semantic_link_labs-0.7.2/src/sempy_labs/_clear_cache.py +0 -42
- semantic_link_labs-0.7.2/src/sempy_labs/_model_bpa_rules.py +0 -842
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/.github/ISSUE_TEMPLATE/issue--question---advice-needed.md +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/.github/workflows/build.yaml +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/.github/workflows/codeql.yaml +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/.gitignore +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/.readthedocs.yaml +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/.vscode/settings.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/CODE_OF_CONDUCT.md +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/LICENSE +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/SECURITY.md +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/SUPPORT.md +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/docs/Makefile +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/docs/make.bat +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/docs/requirements.txt +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/docs/source/index.rst +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/docs/source/modules.rst +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/environment.yml +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/notebooks/Best Practice Analyzer Report.ipynb +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/notebooks/Query Scale Out.ipynb +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/notebooks/Semantic Model Refresh.ipynb +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/notebooks/Tabular Object Model.ipynb +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/setup.cfg +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/semantic_link_labs.egg-info/dependency_links.txt +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/semantic_link_labs.egg-info/requires.txt +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/semantic_link_labs.egg-info/top_level.txt +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_ai.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_am-ET.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_ar-AE.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_cs-CZ.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_da-DK.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_de-DE.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_el-GR.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_es-ES.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_fa-IR.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_fr-FR.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_ga-IE.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_he-IL.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_hi-IN.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_hu-HU.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_is-IS.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_it-IT.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_ja-JP.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_nl-NL.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_pl-PL.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_pt-BR.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_pt-PT.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_ru-RU.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_ta-IN.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_te-IN.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_th-TH.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_zh-CN.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_bpa_translation/_translations_zu-ZA.po +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_connections.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_dax.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_icons.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_model_auto_build.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_model_dependencies.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_one_lake_integration.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_query_scale_out.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_refresh_semantic_model.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/_vertipaq.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/_directlake_schema_sync.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/_get_directlake_lakehouse.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/_get_shared_expression.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/_guardrails.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/_list_directlake_model_calc_tables.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/_update_directlake_model_lakehouse_connection.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/_update_directlake_partition_entity.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/directlake/_warm_cache.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/lakehouse/__init__.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/lakehouse/_get_lakehouse_columns.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/lakehouse/_lakehouse.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/lakehouse/_shortcuts.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/migration/__init__.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/migration/_create_pqt_file.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/migration/_refresh_calc_tables.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_BPAReportTemplate.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/__init__.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/.pbi/localSettings.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/.platform +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/StaticResources/SharedResources/BaseThemes/CY24SU06.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/page.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/1b08bce3bebabb0a27a8/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/2f22ddb70c301693c165/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/3b1182230aa6c600b43a/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/58577ba6380c69891500/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/a2a8fa5028b3b776c96c/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/adfd47ef30652707b987/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/b6a80ee459e716e170b1/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/ce3130a721c020cc3d81/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/92735ae19b31712208ad/page.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/92735ae19b31712208ad/visuals/66e60dfb526437cd78d1/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/page.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/07deb8bce824e1be37d7/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0b1c68838818b32ad03b/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0c171de9d2683d10b930/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0efa01be0510e40a645e/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/6bf2f0eb830ab53cc668/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/88d8141cb8500b60030c/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/a753273590beed656a03/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/b8fdc82cddd61ac447bc/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/d37dce724a0ccc30044b/page.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/d37dce724a0ccc30044b/visuals/ce8532a7e25020271077/visual.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/pages/pages.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/report.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition/version.json +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_bpareporttemplate/definition.pbir +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/report/_generate_report.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/sempy_labs/tom/__init__.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/tests/__init__.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/tests/test_shortcuts.py +0 -0
- {semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/tests/test_tom.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: semantic-link-labs
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.3
|
|
4
4
|
Summary: Semantic Link Labs for Microsoft Fabric
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License: MIT License
|
|
@@ -25,7 +25,7 @@ Requires-Dist: pytest>=8.2.1; extra == "test"
|
|
|
25
25
|
# Semantic Link Labs
|
|
26
26
|
|
|
27
27
|
[](https://badge.fury.io/py/semantic-link-labs)
|
|
28
|
-
[](https://readthedocs.org/projects/semantic-link-labs/)
|
|
29
29
|
[](https://github.com/psf/black)
|
|
30
30
|
[](https://pepy.tech/project/semantic-link-labs)
|
|
31
31
|
|
|
@@ -53,6 +53,7 @@ from sempy_labs import migration, directlake
|
|
|
53
53
|
from sempy_labs import lakehouse as lake
|
|
54
54
|
from sempy_labs import report as rep
|
|
55
55
|
from sempy_labs.tom import connect_semantic_model
|
|
56
|
+
from sempy_labs import ConnectWarehouse
|
|
56
57
|
```
|
|
57
58
|
|
|
58
59
|
## Load semantic-link-labs into a custom [Fabric environment](https://learn.microsoft.com/fabric/data-engineering/create-and-use-environment)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Semantic Link Labs
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/py/semantic-link-labs)
|
|
4
|
-
[](https://readthedocs.org/projects/semantic-link-labs/)
|
|
5
5
|
[](https://github.com/psf/black)
|
|
6
6
|
[](https://pepy.tech/project/semantic-link-labs)
|
|
7
7
|
|
|
@@ -29,6 +29,7 @@ from sempy_labs import migration, directlake
|
|
|
29
29
|
from sempy_labs import lakehouse as lake
|
|
30
30
|
from sempy_labs import report as rep
|
|
31
31
|
from sempy_labs.tom import connect_semantic_model
|
|
32
|
+
from sempy_labs import ConnectWarehouse
|
|
32
33
|
```
|
|
33
34
|
|
|
34
35
|
## Load semantic-link-labs into a custom [Fabric environment](https://learn.microsoft.com/fabric/data-engineering/create-and-use-environment)
|
|
@@ -13,7 +13,7 @@ sys.path.insert(0, os.path.abspath('../../src/'))
|
|
|
13
13
|
project = 'semantic-link-labs'
|
|
14
14
|
copyright = '2024, Microsoft and community'
|
|
15
15
|
author = 'Microsoft and community'
|
|
16
|
-
release = '0.7.
|
|
16
|
+
release = '0.7.3'
|
|
17
17
|
|
|
18
18
|
# -- General configuration ---------------------------------------------------
|
|
19
19
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"cells":[{"cell_type":"markdown","id":"5c27dfd1-4fe0-4a97-92e6-ddf78889aa93","metadata":{"nteract":{"transient":{"deleting":false}}},"source":["### Install the latest .whl package\n","\n","Check [here](https://pypi.org/project/semantic-link-labs/) to see the latest version."]},{"cell_type":"code","execution_count":null,"id":"d5cae9db-cef9-48a8-a351-9c5fcc99645c","metadata":{"jupyter":{"outputs_hidden":true,"source_hidden":false},"nteract":{"transient":{"deleting":false}}},"outputs":[],"source":["%pip install semantic-link-labs"]},{"cell_type":"markdown","id":"969a29bf","metadata":{},"source":["### Import the library and set initial parameters"]},{"cell_type":"code","execution_count":null,"id":"29c923f8","metadata":{},"outputs":[],"source":["import sempy_labs as labs\n","from sempy_labs import migration, directlake\n","import sempy_labs.report as rep\n","\n","dataset_name = '' #Enter the import/DQ semantic model name\n","workspace_name = None #Enter the workspace of the import/DQ semantic model. It set to none it will use the current workspace.\n","new_dataset_name = '' #Enter the new Direct Lake semantic model name\n","new_dataset_workspace_name = None #Enter the workspace where the Direct Lake model will be created. If set to None it will use the current workspace.\n","lakehouse_name = None #Enter the lakehouse to be used for the Direct Lake model. If set to None it will use the lakehouse attached to the notebook.\n","lakehouse_workspace_name = None #Enter the lakehouse workspace. If set to None it will use the new_dataset_workspace_name."]},{"cell_type":"markdown","id":"5a3fe6e8-b8aa-4447-812b-7931831e07fe","metadata":{"nteract":{"transient":{"deleting":false}}},"source":["### Create the [Power Query Template](https://learn.microsoft.com/power-query/power-query-template) file\n","\n","This encapsulates all of the semantic model's Power Query logic into a single file."]},{"cell_type":"code","execution_count":null,"id":"cde43b47-4ecc-46ae-9125-9674819c7eab","metadata":{"jupyter":{"outputs_hidden":false,"source_hidden":false},"nteract":{"transient":{"deleting":false}}},"outputs":[],"source":["migration.create_pqt_file(dataset = dataset_name, workspace = workspace_name)"]},{"cell_type":"markdown","id":"bf945d07-544c-4934-b7a6-cfdb90ca725e","metadata":{"nteract":{"transient":{"deleting":false}}},"source":["### Import the Power Query Template to Dataflows Gen2\n","\n","- Open the [OneLake file explorer](https://www.microsoft.com/download/details.aspx?id=105222) and sync your files (right click -> Sync from OneLake)\n","\n","- Navigate to your lakehouse. From this window, create a new Dataflows Gen2 and import the Power Query Template file from OneLake (OneLake -> Workspace -> Lakehouse -> Files...), and publish the Dataflows Gen2.\n","\n","<div class=\"alert alert-block alert-info\">\n","<b>Important!</b> Make sure to create the Dataflows Gen2 from within the lakehouse window. That will ensure that all the tables automatically map to that lakehouse as the destination. Otherwise, you will have to manually map each table to its destination individually.\n","</div>"]},{"cell_type":"markdown","id":"9975db7d","metadata":{},"source":["### Create the Direct Lake model based on the import/DQ semantic model\n","\n","Calculated columns are not migrated to the Direct Lake model as they are not supported in Direct Lake mode."]},{"cell_type":"code","execution_count":null,"id":"0a3616b5-566e-414e-a225-fb850d6418dc","metadata":{"jupyter":{"outputs_hidden":false,"source_hidden":false},"nteract":{"transient":{"deleting":false}}},"outputs":[],"source":["import time\n","labs.create_blank_semantic_model(dataset = new_dataset_name, workspace = new_dataset_workspace_name, overwrite=False)\n","\n","migration.migrate_calc_tables_to_lakehouse(\n"," dataset = dataset_name,\n"," new_dataset = new_dataset_name,\n"," workspace = workspace_name,\n"," new_dataset_workspace = new_dataset_workspace_name,\n"," lakehouse = lakehouse_name,\n"," lakehouse_workspace = lakehouse_workspace_name\n",")\n","migration.migrate_tables_columns_to_semantic_model(\n"," dataset = dataset_name,\n"," new_dataset = new_dataset_name,\n"," workspace = workspace_name,\n"," new_dataset_workspace = new_dataset_workspace_name,\n"," lakehouse = lakehouse_name,\n"," lakehouse_workspace = lakehouse_workspace_name\n",")\n","migration.migrate_calc_tables_to_semantic_model(\n"," dataset = dataset_name,\n"," new_dataset = new_dataset_name,\n"," workspace = workspace_name,\n"," new_dataset_workspace = new_dataset_workspace_name,\n"," lakehouse = lakehouse_name,\n"," lakehouse_workspace = lakehouse_workspace_name\n",")\n","migration.migrate_model_objects_to_semantic_model(\n"," dataset = dataset_name,\n"," new_dataset = new_dataset_name,\n"," workspace = workspace_name,\n"," new_dataset_workspace = new_dataset_workspace_name\n",")\n","migration.migrate_field_parameters(\n"," dataset = dataset_name,\n"," new_dataset = new_dataset_name,\n"," workspace = workspace_name,\n"," new_dataset_workspace = new_dataset_workspace_name\n",")\n","time.sleep(2)\n","labs.refresh_semantic_model(dataset = new_dataset_name, workspace = new_dataset_workspace_name)\n","migration.refresh_calc_tables(dataset = new_dataset_name, workspace = new_dataset_workspace_name)\n","labs.refresh_semantic_model(dataset = new_dataset_name, workspace = new_dataset_workspace_name)"]},{"cell_type":"markdown","id":"bb98bb13","metadata":{},"source":["### Show migrated/unmigrated objects"]},{"cell_type":"code","execution_count":null,"id":"5db2f22c","metadata":{},"outputs":[],"source":["migration.migration_validation(\n"," dataset = dataset_name,\n"," new_dataset = new_dataset_name, \n"," workspace = workspace_name, \n"," new_dataset_workspace = new_dataset_workspace_name\n",")"]},{"cell_type":"markdown","id":"fa244e9d-87c2-4a66-a7e0-be539a0ac7de","metadata":{"nteract":{"transient":{"deleting":false}}},"source":["### Rebind all reports using the old semantic model to the new Direct Lake semantic model"]},{"cell_type":"code","execution_count":null,"id":"d4e867cc","metadata":{},"outputs":[],"source":["rep.report_rebind_all(\n"," dataset = dataset_name,\n"," dataset_workspace = workspace_name,\n"," new_dataset = new_dataset_name,\n"," new_dataset_workpace = new_dataset_workspace_name,\n"," report_workspace = None\n",")"]},{"cell_type":"markdown","id":"3365d20d","metadata":{},"source":["### Rebind reports one-by-one (optional)"]},{"cell_type":"code","execution_count":null,"id":"056b7180-d7ac-492c-87e7-ac7d0e4bb929","metadata":{"jupyter":{"outputs_hidden":false,"source_hidden":false},"nteract":{"transient":{"deleting":false}}},"outputs":[],"source":["report_name = '' # Enter report name which you want to rebind to the new Direct Lake model\n","\n","rep.report_rebind(\n"," report = report_name,\n"," dataset = new_dataset_name,\n"," report_workspace=workspace_name,\n"," dataset_workspace = new_dataset_workspace_name)"]},{"cell_type":"markdown","id":"526f2327","metadata":{},"source":["### Show unsupported objects"]},{"cell_type":"code","execution_count":null,"id":"a47376d7","metadata":{},"outputs":[],"source":["dfT, dfC, dfR = directlake.show_unsupported_direct_lake_objects(dataset = dataset_name, workspace = workspace_name)\n","\n","print('Calculated Tables are not supported...')\n","display(dfT)\n","print(\"Learn more about Direct Lake limitations here: https://learn.microsoft.com/power-bi/enterprise/directlake-overview#known-issues-and-limitations\")\n","print('Calculated columns are not supported. Columns of binary data type are not supported.')\n","display(dfC)\n","print('Columns used for relationship cannot be of data type datetime and they also must be of the same data type.')\n","display(dfR)"]},{"cell_type":"markdown","id":"ed08ba4c","metadata":{},"source":["### Schema check between semantic model tables/columns and lakehouse tables/columns\n","\n","This will list any tables/columns which are in the new semantic model but do not exist in the lakehouse"]},{"cell_type":"code","execution_count":null,"id":"03889ba4","metadata":{},"outputs":[],"source":["directlake.direct_lake_schema_compare(dataset = new_dataset_name, workspace = new_dataset_workspace_name)"]},{"cell_type":"markdown","id":"2229963b","metadata":{},"source":["### Show calculated tables which have been migrated to the Direct Lake semantic model as regular tables"]},{"cell_type":"code","execution_count":null,"id":"dd537d90","metadata":{},"outputs":[],"source":["directlake.list_direct_lake_model_calc_tables(dataset = new_dataset_name, workspace = new_dataset_workspace_name)"]}],"metadata":{"kernel_info":{"name":"synapse_pyspark"},"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"name":"python","version":"3.12.3"},"microsoft":{"language":"python"},"nteract":{"version":"nteract-front-end@1.0.0"},"spark_compute":{"compute_id":"/trident/default"},"synapse_widget":{"state":{},"version":"0.1"},"widgets":{}},"nbformat":4,"nbformat_minor":5}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"cells":[{"cell_type":"markdown","id":"5c27dfd1-4fe0-4a97-92e6-ddf78889aa93","metadata":{"nteract":{"transient":{"deleting":false}}},"source":["### Install the latest .whl package\n","\n","Check [here](https://pypi.org/project/semantic-link-labs/) to see the latest version."]},{"cell_type":"code","execution_count":null,"id":"d5cae9db-cef9-48a8-a351-9c5fcc99645c","metadata":{"jupyter":{"outputs_hidden":true,"source_hidden":false},"nteract":{"transient":{"deleting":false}}},"outputs":[],"source":["%pip install semantic-link-labs"]},{"cell_type":"markdown","id":"cd8de5a0","metadata":{},"source":["### Import the library"]},{"cell_type":"code","execution_count":null,"id":"5cc6eedf","metadata":{},"outputs":[],"source":["import sempy_labs as labs\n","from sempy_labs import lakehouse as lake\n","from sempy_labs import directlake\n","import sempy_labs.report as rep\n","\n","dataset_name = ''\n","workspace_name = None"]},{"cell_type":"markdown","id":"5a3fe6e8-b8aa-4447-812b-7931831e07fe","metadata":{"nteract":{"transient":{"deleting":false}}},"source":["### Vertipaq Analyzer"]},{"cell_type":"code","execution_count":null,"id":"cde43b47-4ecc-46ae-9125-9674819c7eab","metadata":{"jupyter":{"outputs_hidden":false,"source_hidden":false},"nteract":{"transient":{"deleting":false}}},"outputs":[],"source":["labs.vertipaq_analyzer(dataset = dataset_name, workspace = workspace_name)"]},{"cell_type":"markdown","id":"419a348f","metadata":{},"source":["Export the Vertipaq Analyzer results to a .zip file in your lakehouse"]},{"cell_type":"code","execution_count":null,"id":"8aa239b3","metadata":{},"outputs":[],"source":["labs.vertipaq_analyzer(dataset = dataset_name, workspace = workspace_name, export = 'zip')"]},{"cell_type":"markdown","id":"2dce0f4f","metadata":{},"source":["Export the Vertipaq Analyzer results to append to delta tables in your lakehouse."]},{"cell_type":"code","execution_count":null,"id":"aef93fc8","metadata":{},"outputs":[],"source":["labs.vertipaq_analyzer(dataset = dataset_name, workspace = workspace_name, export = 'table')"]},{"cell_type":"markdown","id":"1c62a802","metadata":{},"source":["Visualize the contents of an exported Vertipaq Analzyer .zip file."]},{"cell_type":"code","execution_count":null,"id":"9e349954","metadata":{},"outputs":[],"source":["labs.import_vertipaq_analyzer(folder_path = '', file_name = '')"]},{"cell_type":"markdown","id":"456ce0ff","metadata":{},"source":["### Best Practice Analzyer\n","\n","This runs the [standard rules](https://github.com/microsoft/Analysis-Services/tree/master/BestPracticeRules) for semantic models posted on Microsoft's GitHub."]},{"cell_type":"code","execution_count":null,"id":"0a3616b5-566e-414e-a225-fb850d6418dc","metadata":{"jupyter":{"outputs_hidden":false,"source_hidden":false},"nteract":{"transient":{"deleting":false}}},"outputs":[],"source":["labs.run_model_bpa(dataset = dataset_name, workspace = workspace_name)"]},{"cell_type":"markdown","id":"6fb32a58","metadata":{},"source":["This runs the Best Practice Analyzer and exports the results to the 'modelbparesults' delta table in your Fabric lakehouse."]},{"cell_type":"code","execution_count":null,"id":"677851c3","metadata":{},"outputs":[],"source":["labs.run_model_bpa(dataset = dataset_name, workspace = workspace_name, export = True)"]},{"cell_type":"markdown","id":"64968a31","metadata":{},"source":["This runs the Best Practice Analyzer with the rules translated into Italian."]},{"cell_type":"code","execution_count":null,"id":"3c7d89e2","metadata":{},"outputs":[],"source":["labs.run_model_bpa(dataset = dataset_name, workspace = workspace_name, language = 'it-IT')"]},{"cell_type":"markdown","id":"255c30bb","metadata":{},"source":["<div class=\"alert alert-block alert-info\">\n","<b>Note:</b> For analyzing model BPA results at scale, see the Best Practice Analyzer Report notebook (link below).\n","</div>\n","\n","[Best Practice Analyzer Notebook](https://github.com/microsoft/semantic-link-labs/blob/main/notebooks/Best%20Practice%20Analyzer%20Report.ipynb)"]},{"cell_type":"markdown","id":"bab18a61","metadata":{},"source":["### Run BPA using your own best practice rules"]},{"cell_type":"code","execution_count":null,"id":"59b89387","metadata":{},"outputs":[],"source":["import sempy\n","sempy.fabric._client._utils._init_analysis_services()\n","import Microsoft.AnalysisServices.Tabular as TOM\n","import pandas as pd\n","\n","dataset_name = ''\n","workspace_name = ''\n","\n","rules = pd.DataFrame(\n"," [\n"," (\n"," \"Performance\",\n"," \"Table\",\n"," \"Warning\",\n"," \"Rule name...\",\n"," lambda obj, tom: tom.is_calculated_table(table_name=obj.Name),\n"," 'Rule description...',\n"," '',\n"," ),\n"," (\n"," \"Performance\",\n"," \"Column\",\n"," \"Warning\",\n"," \"Do not use floating point data types\",\n"," lambda obj, tom: obj.DataType == TOM.DataType.Double,\n"," 'The \"Double\" floating point data type should be avoided, as it can result in unpredictable roundoff errors and decreased performance in certain scenarios. Use \"Int64\" or \"Decimal\" where appropriate (but note that \"Decimal\" is limited to 4 digits after the decimal sign).',\n"," )\n"," ],\n"," columns=[\n"," \"Category\",\n"," \"Scope\",\n"," \"Severity\",\n"," \"Rule Name\",\n"," \"Expression\",\n"," \"Description\",\n"," \"URL\",\n"," ],\n",")\n","\n","labs.run_model_bpa(dataset=dataset_name, workspace=workspace_name, rules=rules)"]},{"cell_type":"markdown","id":"8126a1a1","metadata":{},"source":["### Direct Lake\n","\n","Check if any lakehouse tables will hit the [Direct Lake guardrails](https://learn.microsoft.com/power-bi/enterprise/directlake-overview#fallback)."]},{"cell_type":"code","execution_count":null,"id":"e7397b15","metadata":{},"outputs":[],"source":["lake.get_lakehouse_tables(lakehouse = None, workspace = None, extended = True, count_rows = False)"]},{"cell_type":"code","execution_count":null,"id":"b30074cf","metadata":{},"outputs":[],"source":["lake.get_lakehouse_tables(lakehouse = None, workspace = None, extended = True, count_rows = False, export = True)"]},{"cell_type":"markdown","id":"99b84f2b","metadata":{},"source":["Check if any tables in a Direct Lake semantic model will fall back to DirectQuery."]},{"cell_type":"code","execution_count":null,"id":"f837be58","metadata":{},"outputs":[],"source":["directlake.check_fallback_reason(dataset = dataset_name, workspace = workspace_name)"]},{"cell_type":"markdown","id":"8f6df93e","metadata":{},"source":["### [OPTIMIZE](https://docs.delta.io/latest/optimizations-oss.html) your lakehouse delta tables."]},{"cell_type":"code","execution_count":null,"id":"e0262c9e","metadata":{},"outputs":[],"source":["lake.optimize_lakehouse_tables(tables = ['', ''], lakehouse = None, workspace = None)"]},{"cell_type":"markdown","id":"0091d6a0","metadata":{},"source":["Refresh/reframe your Direct Lake semantic model and restore the columns which were in memory prior to the refresh."]},{"cell_type":"code","execution_count":null,"id":"77eef082","metadata":{},"outputs":[],"source":["directlake.warm_direct_lake_cache_isresident(dataset = dataset_name, workspace = workspace_name)"]},{"cell_type":"markdown","id":"dae1a210","metadata":{},"source":["Ensure a warm cache for your users by putting the columns of a Direct Lake semantic model into memory based on the contents of a [perspective](https://learn.microsoft.com/analysis-services/tabular-models/perspectives-ssas-tabular?view=asallproducts-allversions).\n","\n","Perspectives can be created either in [Tabular Editor 3](https://github.com/TabularEditor/TabularEditor3/releases/latest) or in [Tabular Editor 2](https://github.com/TabularEditor/TabularEditor/releases/latest) using the [Perspective Editor](https://www.elegantbi.com/post/perspectiveeditor)."]},{"cell_type":"code","execution_count":null,"id":"43297001","metadata":{},"outputs":[],"source":["directlake.warm_direct_lake_cache_perspective(dataset = dataset_name, workspace = workspace_name, perspective = '', add_dependencies = True)"]}],"metadata":{"kernel_info":{"name":"synapse_pyspark"},"kernelspec":{"display_name":"Synapse PySpark","language":"Python","name":"synapse_pyspark"},"language_info":{"name":"python"},"microsoft":{"language":"python"},"nteract":{"version":"nteract-front-end@1.0.0"},"spark_compute":{"compute_id":"/trident/default"},"synapse_widget":{"state":{},"version":"0.1"},"widgets":{}},"nbformat":4,"nbformat_minor":5}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"cells":[{"cell_type":"markdown","id":"5c27dfd1-4fe0-4a97-92e6-ddf78889aa93","metadata":{"nteract":{"transient":{"deleting":false}}},"source":["### Install the latest .whl package\n","\n","Check [here](https://pypi.org/project/semantic-link-labs/) to see the latest version."]},{"cell_type":"code","execution_count":null,"id":"d5cae9db-cef9-48a8-a351-9c5fcc99645c","metadata":{"jupyter":{"outputs_hidden":true,"source_hidden":false},"nteract":{"transient":{"deleting":false}}},"outputs":[],"source":["%pip install semantic-link-labs"]},{"cell_type":"markdown","id":"b195eae8","metadata":{},"source":["### Import the library and necessary packages"]},{"cell_type":"code","execution_count":null,"id":"1344e286","metadata":{},"outputs":[],"source":["import sempy_labs as labs\n","from sempy_labs import ConnectWarehouse\n","warehouse_name = ''\n","workspace_name = ''"]},{"cell_type":"markdown","id":"55e5ca67","metadata":{},"source":["### Run a SQL query against a Fabric warehouse"]},{"cell_type":"code","execution_count":null,"id":"a9f984e9","metadata":{},"outputs":[],"source":["with ConnectWarehouse(warehouse=warehouse_name, workspace=workspace_name) as sql:\n"," df = sql.query(\"SELECT * FROM Product\")"]},{"cell_type":"markdown","id":"d5b090da","metadata":{},"source":["#### Display the results of the query"]},{"cell_type":"code","execution_count":null,"id":"05953d6d","metadata":{},"outputs":[],"source":["df"]},{"cell_type":"code","execution_count":null,"id":"4dca7f4a","metadata":{},"outputs":[],"source":["display(df)"]}],"metadata":{"kernel_info":{"name":"synapse_pyspark"},"kernelspec":{"display_name":"Synapse PySpark","language":"Python","name":"synapse_pyspark"},"language_info":{"name":"python"},"microsoft":{"language":"python"},"nteract":{"version":"nteract-front-end@1.0.0"},"spark_compute":{"compute_id":"/trident/default"},"synapse_widget":{"state":{},"version":"0.1"},"widgets":{}},"nbformat":4,"nbformat_minor":5}
|
{semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/semantic_link_labs.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: semantic-link-labs
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.3
|
|
4
4
|
Summary: Semantic Link Labs for Microsoft Fabric
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License: MIT License
|
|
@@ -25,7 +25,7 @@ Requires-Dist: pytest>=8.2.1; extra == "test"
|
|
|
25
25
|
# Semantic Link Labs
|
|
26
26
|
|
|
27
27
|
[](https://badge.fury.io/py/semantic-link-labs)
|
|
28
|
-
[](https://readthedocs.org/projects/semantic-link-labs/)
|
|
29
29
|
[](https://github.com/psf/black)
|
|
30
30
|
[](https://pepy.tech/project/semantic-link-labs)
|
|
31
31
|
|
|
@@ -53,6 +53,7 @@ from sempy_labs import migration, directlake
|
|
|
53
53
|
from sempy_labs import lakehouse as lake
|
|
54
54
|
from sempy_labs import report as rep
|
|
55
55
|
from sempy_labs.tom import connect_semantic_model
|
|
56
|
+
from sempy_labs import ConnectWarehouse
|
|
56
57
|
```
|
|
57
58
|
|
|
58
59
|
## Load semantic-link-labs into a custom [Fabric environment](https://learn.microsoft.com/fabric/data-engineering/create-and-use-environment)
|
{semantic_link_labs-0.7.2 → semantic_link_labs-0.7.3}/src/semantic_link_labs.egg-info/SOURCES.txt
RENAMED
|
@@ -25,6 +25,7 @@ notebooks/Model Optimization.ipynb
|
|
|
25
25
|
notebooks/Query Scale Out.ipynb
|
|
26
26
|
notebooks/Semantic Model Refresh.ipynb
|
|
27
27
|
notebooks/Tabular Object Model.ipynb
|
|
28
|
+
notebooks/Warehouse.ipynb
|
|
28
29
|
src/semantic_link_labs.egg-info/PKG-INFO
|
|
29
30
|
src/semantic_link_labs.egg-info/SOURCES.txt
|
|
30
31
|
src/semantic_link_labs.egg-info/dependency_links.txt
|
|
@@ -34,8 +35,11 @@ src/sempy_labs/__init__.py
|
|
|
34
35
|
src/sempy_labs/_ai.py
|
|
35
36
|
src/sempy_labs/_clear_cache.py
|
|
36
37
|
src/sempy_labs/_connections.py
|
|
38
|
+
src/sempy_labs/_dataflows.py
|
|
37
39
|
src/sempy_labs/_dax.py
|
|
40
|
+
src/sempy_labs/_deployment_pipelines.py
|
|
38
41
|
src/sempy_labs/_generate_semantic_model.py
|
|
42
|
+
src/sempy_labs/_git.py
|
|
39
43
|
src/sempy_labs/_helper_functions.py
|
|
40
44
|
src/sempy_labs/_icons.py
|
|
41
45
|
src/sempy_labs/_list_functions.py
|
|
@@ -47,8 +51,10 @@ src/sempy_labs/_model_dependencies.py
|
|
|
47
51
|
src/sempy_labs/_one_lake_integration.py
|
|
48
52
|
src/sempy_labs/_query_scale_out.py
|
|
49
53
|
src/sempy_labs/_refresh_semantic_model.py
|
|
54
|
+
src/sempy_labs/_sql.py
|
|
50
55
|
src/sempy_labs/_translations.py
|
|
51
56
|
src/sempy_labs/_vertipaq.py
|
|
57
|
+
src/sempy_labs/_workspace_identity.py
|
|
52
58
|
src/sempy_labs/_bpa_translation/_translations_am-ET.po
|
|
53
59
|
src/sempy_labs/_bpa_translation/_translations_ar-AE.po
|
|
54
60
|
src/sempy_labs/_bpa_translation/_translations_cs-CZ.po
|
|
@@ -70,6 +76,7 @@ src/sempy_labs/_bpa_translation/_translations_pl-PL.po
|
|
|
70
76
|
src/sempy_labs/_bpa_translation/_translations_pt-BR.po
|
|
71
77
|
src/sempy_labs/_bpa_translation/_translations_pt-PT.po
|
|
72
78
|
src/sempy_labs/_bpa_translation/_translations_ru-RU.po
|
|
79
|
+
src/sempy_labs/_bpa_translation/_translations_sv-SE.po
|
|
73
80
|
src/sempy_labs/_bpa_translation/_translations_ta-IN.po
|
|
74
81
|
src/sempy_labs/_bpa_translation/_translations_te-IN.po
|
|
75
82
|
src/sempy_labs/_bpa_translation/_translations_th-TH.po
|
|
@@ -79,6 +86,7 @@ src/sempy_labs/directlake/__init__.py
|
|
|
79
86
|
src/sempy_labs/directlake/_directlake_schema_compare.py
|
|
80
87
|
src/sempy_labs/directlake/_directlake_schema_sync.py
|
|
81
88
|
src/sempy_labs/directlake/_dl_helper.py
|
|
89
|
+
src/sempy_labs/directlake/_generate_shared_expression.py
|
|
82
90
|
src/sempy_labs/directlake/_get_directlake_lakehouse.py
|
|
83
91
|
src/sempy_labs/directlake/_get_shared_expression.py
|
|
84
92
|
src/sempy_labs/directlake/_guardrails.py
|
|
@@ -1,4 +1,38 @@
|
|
|
1
|
-
from sempy_labs.
|
|
1
|
+
from sempy_labs._sql import(
|
|
2
|
+
ConnectWarehouse,
|
|
3
|
+
)
|
|
4
|
+
|
|
5
|
+
from sempy_labs._workspace_identity import (
|
|
6
|
+
provision_workspace_identity,
|
|
7
|
+
deprovision_workspace_identity,
|
|
8
|
+
)
|
|
9
|
+
from sempy_labs._deployment_pipelines import (
|
|
10
|
+
list_deployment_pipeline_stage_items,
|
|
11
|
+
list_deployment_pipeline_stages,
|
|
12
|
+
list_deployment_pipelines,
|
|
13
|
+
)
|
|
14
|
+
from sempy_labs._git import (
|
|
15
|
+
get_git_connection,
|
|
16
|
+
get_git_status,
|
|
17
|
+
commit_to_git,
|
|
18
|
+
initialize_git_connection,
|
|
19
|
+
update_from_git,
|
|
20
|
+
connect_workspace_to_git,
|
|
21
|
+
disconnect_workspace_from_git,
|
|
22
|
+
)
|
|
23
|
+
from sempy_labs._dataflows import (
|
|
24
|
+
list_dataflow_storage_accounts,
|
|
25
|
+
assign_workspace_to_dataflow_storage,
|
|
26
|
+
list_dataflows,
|
|
27
|
+
)
|
|
28
|
+
from sempy_labs._clear_cache import (
|
|
29
|
+
clear_cache,
|
|
30
|
+
backup_semantic_model,
|
|
31
|
+
restore_semantic_model,
|
|
32
|
+
copy_semantic_model_backup_file,
|
|
33
|
+
list_backups,
|
|
34
|
+
list_storage_account_files,
|
|
35
|
+
)
|
|
2
36
|
|
|
3
37
|
# from sempy_labs._connections import (
|
|
4
38
|
# create_connection_cloud,
|
|
@@ -11,6 +45,8 @@ from sempy_labs._generate_semantic_model import (
|
|
|
11
45
|
create_semantic_model_from_bim,
|
|
12
46
|
deploy_semantic_model,
|
|
13
47
|
get_semantic_model_bim,
|
|
48
|
+
get_semantic_model_size,
|
|
49
|
+
update_semantic_model_from_bim,
|
|
14
50
|
)
|
|
15
51
|
from sempy_labs._list_functions import (
|
|
16
52
|
list_reports_using_semantic_model,
|
|
@@ -22,7 +58,6 @@ from sempy_labs._list_functions import (
|
|
|
22
58
|
# list_annotations,
|
|
23
59
|
# list_columns,
|
|
24
60
|
list_dashboards,
|
|
25
|
-
list_dataflow_storage_accounts,
|
|
26
61
|
# list_datamarts,
|
|
27
62
|
# list_datapipelines,
|
|
28
63
|
# list_eventstreams,
|
|
@@ -51,12 +86,12 @@ from sempy_labs._list_functions import (
|
|
|
51
86
|
delete_user_from_workspace,
|
|
52
87
|
update_workspace_user,
|
|
53
88
|
list_workspace_users,
|
|
54
|
-
assign_workspace_to_dataflow_storage,
|
|
55
89
|
get_notebook_definition,
|
|
56
90
|
import_notebook_from_web,
|
|
57
91
|
)
|
|
58
92
|
|
|
59
93
|
from sempy_labs._helper_functions import (
|
|
94
|
+
resolve_warehouse_id,
|
|
60
95
|
resolve_workspace_capacity,
|
|
61
96
|
create_abfss_path,
|
|
62
97
|
format_dax_object_name,
|
|
@@ -114,6 +149,18 @@ from sempy_labs._vertipaq import (
|
|
|
114
149
|
)
|
|
115
150
|
|
|
116
151
|
__all__ = [
|
|
152
|
+
"resolve_warehouse_id",
|
|
153
|
+
"ConnectWarehouse",
|
|
154
|
+
"update_semantic_model_from_bim",
|
|
155
|
+
"get_semantic_model_size",
|
|
156
|
+
"provision_workspace_identity",
|
|
157
|
+
"deprovision_workspace_identity",
|
|
158
|
+
"list_dataflows",
|
|
159
|
+
"copy_semantic_model_backup_file",
|
|
160
|
+
"list_backups",
|
|
161
|
+
"list_storage_account_files",
|
|
162
|
+
"backup_semantic_model",
|
|
163
|
+
"restore_semantic_model",
|
|
117
164
|
"delete_custom_pool",
|
|
118
165
|
"clear_cache",
|
|
119
166
|
# create_connection_cloud,
|
|
@@ -205,4 +252,14 @@ __all__ = [
|
|
|
205
252
|
"resolve_capacity_name",
|
|
206
253
|
"run_model_bpa_bulk",
|
|
207
254
|
"create_model_bpa_semantic_model",
|
|
255
|
+
"list_deployment_pipeline_stage_items",
|
|
256
|
+
"list_deployment_pipeline_stages",
|
|
257
|
+
"list_deployment_pipelines",
|
|
258
|
+
"get_git_connection",
|
|
259
|
+
"get_git_status",
|
|
260
|
+
"commit_to_git",
|
|
261
|
+
"initialize_git_connection",
|
|
262
|
+
"update_from_git",
|
|
263
|
+
"connect_workspace_to_git",
|
|
264
|
+
"disconnect_workspace_from_git",
|
|
208
265
|
]
|