semantic-link-labs 0.12.0__tar.gz → 0.12.1__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.

Files changed (252) hide show
  1. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/PKG-INFO +3 -2
  2. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/README.md +2 -1
  3. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/pyproject.toml +1 -1
  4. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/semantic_link_labs.egg-info/PKG-INFO +3 -2
  5. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/semantic_link_labs.egg-info/SOURCES.txt +1 -34
  6. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_a_lib_info.py +1 -1
  7. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_authentication.py +7 -3
  8. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_capacities.py +10 -10
  9. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_report_rebind.py +35 -23
  10. semantic_link_labs-0.12.0/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
  11. semantic_link_labs-0.12.0/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  12. semantic_link_labs-0.12.0/.github/ISSUE_TEMPLATE/issue--question---advice-needed.md +0 -14
  13. semantic_link_labs-0.12.0/.github/workflows/build.yaml +0 -69
  14. semantic_link_labs-0.12.0/.github/workflows/codeql.yaml +0 -30
  15. semantic_link_labs-0.12.0/.gitignore +0 -160
  16. semantic_link_labs-0.12.0/.readthedocs.yaml +0 -33
  17. semantic_link_labs-0.12.0/.vscode/settings.json +0 -7
  18. semantic_link_labs-0.12.0/CODE_OF_CONDUCT.md +0 -9
  19. semantic_link_labs-0.12.0/SECURITY.md +0 -41
  20. semantic_link_labs-0.12.0/SUPPORT.md +0 -25
  21. semantic_link_labs-0.12.0/docs/Makefile +0 -20
  22. semantic_link_labs-0.12.0/docs/make.bat +0 -35
  23. semantic_link_labs-0.12.0/docs/requirements.txt +0 -14
  24. semantic_link_labs-0.12.0/docs/source/conf.py +0 -46
  25. semantic_link_labs-0.12.0/docs/source/index.rst +0 -20
  26. semantic_link_labs-0.12.0/docs/source/modules.rst +0 -7
  27. semantic_link_labs-0.12.0/environment.yml +0 -13
  28. semantic_link_labs-0.12.0/notebooks/Best Practice Analyzer Report.ipynb +0 -1
  29. semantic_link_labs-0.12.0/notebooks/Capacity Migration.ipynb +0 -340
  30. semantic_link_labs-0.12.0/notebooks/Delta Analyzer.ipynb +0 -171
  31. semantic_link_labs-0.12.0/notebooks/Migration to Direct Lake.ipynb +0 -462
  32. semantic_link_labs-0.12.0/notebooks/Model Optimization.ipynb +0 -444
  33. semantic_link_labs-0.12.0/notebooks/Query Scale Out.ipynb +0 -226
  34. semantic_link_labs-0.12.0/notebooks/Report Analysis.ipynb +0 -1
  35. semantic_link_labs-0.12.0/notebooks/SQL.ipynb +0 -226
  36. semantic_link_labs-0.12.0/notebooks/Semantic Model Management.ipynb +0 -144
  37. semantic_link_labs-0.12.0/notebooks/Semantic Model Refresh.ipynb +0 -1
  38. semantic_link_labs-0.12.0/notebooks/Service Principal.ipynb +0 -247
  39. semantic_link_labs-0.12.0/notebooks/Tabular Object Model.ipynb +0 -786
  40. semantic_link_labs-0.12.0/src/sempy_labs/report/_bpareporttemplate/.pbi/localSettings.json +0 -9
  41. semantic_link_labs-0.12.0/src/sempy_labs/report/_bpareporttemplate/.platform +0 -11
  42. semantic_link_labs-0.12.0/tests/__init__.py +0 -0
  43. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/LICENSE +0 -0
  44. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/setup.cfg +0 -0
  45. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/semantic_link_labs.egg-info/dependency_links.txt +0 -0
  46. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/semantic_link_labs.egg-info/requires.txt +0 -0
  47. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/semantic_link_labs.egg-info/top_level.txt +0 -0
  48. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/__init__.py +0 -0
  49. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_ai.py +0 -0
  50. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_am-ET.po +0 -0
  51. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_ar-AE.po +0 -0
  52. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_bg-BG.po +0 -0
  53. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_ca-ES.po +0 -0
  54. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_cs-CZ.po +0 -0
  55. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_da-DK.po +0 -0
  56. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_de-DE.po +0 -0
  57. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_el-GR.po +0 -0
  58. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_es-ES.po +0 -0
  59. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_fa-IR.po +0 -0
  60. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_fi-FI.po +0 -0
  61. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_fr-FR.po +0 -0
  62. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_ga-IE.po +0 -0
  63. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_he-IL.po +0 -0
  64. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_hi-IN.po +0 -0
  65. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_hu-HU.po +0 -0
  66. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_id-ID.po +0 -0
  67. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_is-IS.po +0 -0
  68. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_it-IT.po +0 -0
  69. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_ja-JP.po +0 -0
  70. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_ko-KR.po +0 -0
  71. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_mt-MT.po +0 -0
  72. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_nl-NL.po +0 -0
  73. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_pl-PL.po +0 -0
  74. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_pt-BR.po +0 -0
  75. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_pt-PT.po +0 -0
  76. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_ro-RO.po +0 -0
  77. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_ru-RU.po +0 -0
  78. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_sk-SK.po +0 -0
  79. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_sl-SL.po +0 -0
  80. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_sv-SE.po +0 -0
  81. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_ta-IN.po +0 -0
  82. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_te-IN.po +0 -0
  83. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_th-TH.po +0 -0
  84. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_tr-TR.po +0 -0
  85. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_uk-UA.po +0 -0
  86. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_zh-CN.po +0 -0
  87. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_bpa_translation/_model/_translations_zu-ZA.po +0 -0
  88. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_capacities.py +0 -0
  89. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_capacity_migration.py +0 -0
  90. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_clear_cache.py +0 -0
  91. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_connections.py +0 -0
  92. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_dashboards.py +0 -0
  93. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_data_pipelines.py +0 -0
  94. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_dataflows.py +0 -0
  95. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_dax.py +0 -0
  96. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_daxformatter.py +0 -0
  97. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_delta_analyzer.py +0 -0
  98. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_delta_analyzer_history.py +0 -0
  99. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_deployment_pipelines.py +0 -0
  100. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_dictionary_diffs.py +0 -0
  101. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_documentation.py +0 -0
  102. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_environments.py +0 -0
  103. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_eventhouses.py +0 -0
  104. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_eventstreams.py +0 -0
  105. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_external_data_shares.py +0 -0
  106. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_gateways.py +0 -0
  107. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_generate_semantic_model.py +0 -0
  108. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_git.py +0 -0
  109. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_graphQL.py +0 -0
  110. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_helper_functions.py +0 -0
  111. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_icons.py +0 -0
  112. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_job_scheduler.py +0 -0
  113. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_kql_databases.py +0 -0
  114. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_kql_querysets.py +0 -0
  115. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_kusto.py +0 -0
  116. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_labels.py +0 -0
  117. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_list_functions.py +0 -0
  118. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_managed_private_endpoints.py +0 -0
  119. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_mirrored_databases.py +0 -0
  120. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_mirrored_warehouses.py +0 -0
  121. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_ml_experiments.py +0 -0
  122. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_model_auto_build.py +0 -0
  123. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_model_bpa.py +0 -0
  124. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_model_bpa_bulk.py +0 -0
  125. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_model_bpa_rules.py +0 -0
  126. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_model_dependencies.py +0 -0
  127. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_mounted_data_factories.py +0 -0
  128. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_notebooks.py +0 -0
  129. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_one_lake_integration.py +0 -0
  130. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_query_scale_out.py +0 -0
  131. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_refresh_semantic_model.py +0 -0
  132. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_semantic_models.py +0 -0
  133. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_spark.py +0 -0
  134. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_sql.py +0 -0
  135. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_sql_endpoints.py +0 -0
  136. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_sqldatabase.py +0 -0
  137. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_tags.py +0 -0
  138. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_translations.py +0 -0
  139. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_user_delegation_key.py +0 -0
  140. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_utils.py +0 -0
  141. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_vertipaq.py +0 -0
  142. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_vpax.py +0 -0
  143. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_warehouses.py +0 -0
  144. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_workloads.py +0 -0
  145. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_workspace_identity.py +0 -0
  146. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/_workspaces.py +0 -0
  147. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/__init__.py +0 -0
  148. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_activities.py +0 -0
  149. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_apps.py +0 -0
  150. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_artifacts.py +0 -0
  151. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_basic_functions.py +0 -0
  152. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_dataflows.py +0 -0
  153. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_datasets.py +0 -0
  154. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_domains.py +0 -0
  155. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_external_data_share.py +0 -0
  156. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_git.py +0 -0
  157. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_items.py +0 -0
  158. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_reports.py +0 -0
  159. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_scanner.py +0 -0
  160. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_shared.py +0 -0
  161. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_tags.py +0 -0
  162. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_tenant.py +0 -0
  163. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_tenant_keys.py +0 -0
  164. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_users.py +0 -0
  165. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/admin/_workspaces.py +0 -0
  166. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/__init__.py +0 -0
  167. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_directlake_schema_compare.py +0 -0
  168. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_directlake_schema_sync.py +0 -0
  169. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_dl_helper.py +0 -0
  170. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_generate_shared_expression.py +0 -0
  171. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_get_directlake_lakehouse.py +0 -0
  172. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_get_shared_expression.py +0 -0
  173. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_guardrails.py +0 -0
  174. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_list_directlake_model_calc_tables.py +0 -0
  175. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_show_unsupported_directlake_objects.py +0 -0
  176. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_update_directlake_model_lakehouse_connection.py +0 -0
  177. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_update_directlake_partition_entity.py +0 -0
  178. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/directlake/_warm_cache.py +0 -0
  179. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/dotnet_lib/dotnet.runtime.config.json +0 -0
  180. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/graph/__init__.py +0 -0
  181. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/graph/_groups.py +0 -0
  182. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/graph/_teams.py +0 -0
  183. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/graph/_users.py +0 -0
  184. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/lakehouse/__init__.py +0 -0
  185. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/lakehouse/_blobs.py +0 -0
  186. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/lakehouse/_get_lakehouse_columns.py +0 -0
  187. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/lakehouse/_get_lakehouse_tables.py +0 -0
  188. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/lakehouse/_helper.py +0 -0
  189. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/lakehouse/_lakehouse.py +0 -0
  190. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/lakehouse/_livy_sessions.py +0 -0
  191. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/lakehouse/_materialized_lake_views.py +0 -0
  192. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/lakehouse/_shortcuts.py +0 -0
  193. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/migration/__init__.py +0 -0
  194. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/migration/_create_pqt_file.py +0 -0
  195. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/migration/_direct_lake_to_import.py +0 -0
  196. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/migration/_migrate_calctables_to_lakehouse.py +0 -0
  197. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/migration/_migrate_calctables_to_semantic_model.py +0 -0
  198. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/migration/_migrate_model_objects_to_semantic_model.py +0 -0
  199. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/migration/_migrate_tables_columns_to_semantic_model.py +0 -0
  200. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/migration/_migration_validation.py +0 -0
  201. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/migration/_refresh_calc_tables.py +0 -0
  202. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/mirrored_azure_databricks_catalog/__init__.py +0 -0
  203. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/mirrored_azure_databricks_catalog/_discover.py +0 -0
  204. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/mirrored_azure_databricks_catalog/_refresh_catalog_metadata.py +0 -0
  205. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/ml_model/__init__.py +0 -0
  206. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/ml_model/_functions.py +0 -0
  207. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_BPAReportTemplate.json +0 -0
  208. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/__init__.py +0 -0
  209. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/StaticResources/SharedResources/BaseThemes/CY24SU06.json +0 -0
  210. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/page.json +0 -0
  211. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/1b08bce3bebabb0a27a8/visual.json +0 -0
  212. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/2f22ddb70c301693c165/visual.json +0 -0
  213. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/3b1182230aa6c600b43a/visual.json +0 -0
  214. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/58577ba6380c69891500/visual.json +0 -0
  215. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/a2a8fa5028b3b776c96c/visual.json +0 -0
  216. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/adfd47ef30652707b987/visual.json +0 -0
  217. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/b6a80ee459e716e170b1/visual.json +0 -0
  218. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/ce3130a721c020cc3d81/visual.json +0 -0
  219. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/92735ae19b31712208ad/page.json +0 -0
  220. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/92735ae19b31712208ad/visuals/66e60dfb526437cd78d1/visual.json +0 -0
  221. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/page.json +0 -0
  222. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/07deb8bce824e1be37d7/visual.json +0 -0
  223. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0b1c68838818b32ad03b/visual.json +0 -0
  224. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0c171de9d2683d10b930/visual.json +0 -0
  225. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0efa01be0510e40a645e/visual.json +0 -0
  226. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/6bf2f0eb830ab53cc668/visual.json +0 -0
  227. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/88d8141cb8500b60030c/visual.json +0 -0
  228. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/a753273590beed656a03/visual.json +0 -0
  229. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/b8fdc82cddd61ac447bc/visual.json +0 -0
  230. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/d37dce724a0ccc30044b/page.json +0 -0
  231. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/d37dce724a0ccc30044b/visuals/ce8532a7e25020271077/visual.json +0 -0
  232. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/pages/pages.json +0 -0
  233. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/report.json +0 -0
  234. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition/version.json +0 -0
  235. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_bpareporttemplate/definition.pbir +0 -0
  236. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_download_report.py +0 -0
  237. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_export_report.py +0 -0
  238. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_generate_report.py +0 -0
  239. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_paginated.py +0 -0
  240. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_report_bpa.py +0 -0
  241. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_report_bpa_rules.py +0 -0
  242. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_report_functions.py +0 -0
  243. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_report_helper.py +0 -0
  244. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_report_list_functions.py +0 -0
  245. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_reportwrapper.py +0 -0
  246. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/report/_save_report.py +0 -0
  247. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/theme/__init__.py +0 -0
  248. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/theme/_org_themes.py +0 -0
  249. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/tom/__init__.py +0 -0
  250. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/tom/_model.py +0 -0
  251. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/variable_library/__init__.py +0 -0
  252. {semantic_link_labs-0.12.0 → semantic_link_labs-0.12.1}/src/sempy_labs/variable_library/_functions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: semantic-link-labs
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Summary: Semantic Link Labs for Microsoft Fabric
5
5
  Author: Microsoft Corporation
6
6
  License: MIT License
@@ -26,7 +26,7 @@ Dynamic: license-file
26
26
  # Semantic Link Labs
27
27
 
28
28
  [![PyPI version](https://badge.fury.io/py/semantic-link-labs.svg)](https://badge.fury.io/py/semantic-link-labs)
29
- [![Read The Docs](https://readthedocs.org/projects/semantic-link-labs/badge/?version=0.12.0&style=flat)](https://readthedocs.org/projects/semantic-link-labs/)
29
+ [![Read The Docs](https://readthedocs.org/projects/semantic-link-labs/badge/?version=0.12.1&style=flat)](https://readthedocs.org/projects/semantic-link-labs/)
30
30
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
31
31
  [![Downloads](https://static.pepy.tech/badge/semantic-link-labs)](https://pepy.tech/project/semantic-link-labs)
32
32
 
@@ -154,6 +154,7 @@ An even better way to ensure the semantic-link-labs library is available in your
154
154
  2. Select your newly created environment within the 'Environment' drop down in the navigation bar at the top of the notebook
155
155
 
156
156
  ## Version History
157
+ * [0.12.1](https://github.com/microsoft/semantic-link-labs/releases/tag/0.12.1) (September 4, 2025)
157
158
  * [0.12.0](https://github.com/microsoft/semantic-link-labs/releases/tag/0.12.0) (September 2, 2025)
158
159
  * [0.11.3](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.3) (August 6, 2025)
159
160
  * [0.11.2](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.2) (July 8, 2025)
@@ -1,7 +1,7 @@
1
1
  # Semantic Link Labs
2
2
 
3
3
  [![PyPI version](https://badge.fury.io/py/semantic-link-labs.svg)](https://badge.fury.io/py/semantic-link-labs)
4
- [![Read The Docs](https://readthedocs.org/projects/semantic-link-labs/badge/?version=0.12.0&style=flat)](https://readthedocs.org/projects/semantic-link-labs/)
4
+ [![Read The Docs](https://readthedocs.org/projects/semantic-link-labs/badge/?version=0.12.1&style=flat)](https://readthedocs.org/projects/semantic-link-labs/)
5
5
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
6
6
  [![Downloads](https://static.pepy.tech/badge/semantic-link-labs)](https://pepy.tech/project/semantic-link-labs)
7
7
 
@@ -129,6 +129,7 @@ An even better way to ensure the semantic-link-labs library is available in your
129
129
  2. Select your newly created environment within the 'Environment' drop down in the navigation bar at the top of the notebook
130
130
 
131
131
  ## Version History
132
+ * [0.12.1](https://github.com/microsoft/semantic-link-labs/releases/tag/0.12.1) (September 4, 2025)
132
133
  * [0.12.0](https://github.com/microsoft/semantic-link-labs/releases/tag/0.12.0) (September 2, 2025)
133
134
  * [0.11.3](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.3) (August 6, 2025)
134
135
  * [0.11.2](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.2) (July 8, 2025)
@@ -7,7 +7,7 @@ name="semantic-link-labs"
7
7
  authors = [
8
8
  { name = "Microsoft Corporation" },
9
9
  ]
10
- version="0.12.0"
10
+ version="0.12.1"
11
11
  description="Semantic Link Labs for Microsoft Fabric"
12
12
  readme="README.md"
13
13
  requires-python=">=3.10,<3.12"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: semantic-link-labs
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Summary: Semantic Link Labs for Microsoft Fabric
5
5
  Author: Microsoft Corporation
6
6
  License: MIT License
@@ -26,7 +26,7 @@ Dynamic: license-file
26
26
  # Semantic Link Labs
27
27
 
28
28
  [![PyPI version](https://badge.fury.io/py/semantic-link-labs.svg)](https://badge.fury.io/py/semantic-link-labs)
29
- [![Read The Docs](https://readthedocs.org/projects/semantic-link-labs/badge/?version=0.12.0&style=flat)](https://readthedocs.org/projects/semantic-link-labs/)
29
+ [![Read The Docs](https://readthedocs.org/projects/semantic-link-labs/badge/?version=0.12.1&style=flat)](https://readthedocs.org/projects/semantic-link-labs/)
30
30
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
31
31
  [![Downloads](https://static.pepy.tech/badge/semantic-link-labs)](https://pepy.tech/project/semantic-link-labs)
32
32
 
@@ -154,6 +154,7 @@ An even better way to ensure the semantic-link-labs library is available in your
154
154
  2. Select your newly created environment within the 'Environment' drop down in the navigation bar at the top of the notebook
155
155
 
156
156
  ## Version History
157
+ * [0.12.1](https://github.com/microsoft/semantic-link-labs/releases/tag/0.12.1) (September 4, 2025)
157
158
  * [0.12.0](https://github.com/microsoft/semantic-link-labs/releases/tag/0.12.0) (September 2, 2025)
158
159
  * [0.11.3](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.3) (August 6, 2025)
159
160
  * [0.11.2](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.2) (July 8, 2025)
@@ -1,36 +1,6 @@
1
- .gitignore
2
- .readthedocs.yaml
3
- CODE_OF_CONDUCT.md
4
1
  LICENSE
5
2
  README.md
6
- SECURITY.md
7
- SUPPORT.md
8
- environment.yml
9
3
  pyproject.toml
10
- .github/ISSUE_TEMPLATE/bug_report.md
11
- .github/ISSUE_TEMPLATE/feature_request.md
12
- .github/ISSUE_TEMPLATE/issue--question---advice-needed.md
13
- .github/workflows/build.yaml
14
- .github/workflows/codeql.yaml
15
- .vscode/settings.json
16
- docs/Makefile
17
- docs/make.bat
18
- docs/requirements.txt
19
- docs/source/conf.py
20
- docs/source/index.rst
21
- docs/source/modules.rst
22
- notebooks/Best Practice Analyzer Report.ipynb
23
- notebooks/Capacity Migration.ipynb
24
- notebooks/Delta Analyzer.ipynb
25
- notebooks/Migration to Direct Lake.ipynb
26
- notebooks/Model Optimization.ipynb
27
- notebooks/Query Scale Out.ipynb
28
- notebooks/Report Analysis.ipynb
29
- notebooks/SQL.ipynb
30
- notebooks/Semantic Model Management.ipynb
31
- notebooks/Semantic Model Refresh.ipynb
32
- notebooks/Service Principal.ipynb
33
- notebooks/Tabular Object Model.ipynb
34
4
  src/semantic_link_labs.egg-info/PKG-INFO
35
5
  src/semantic_link_labs.egg-info/SOURCES.txt
36
6
  src/semantic_link_labs.egg-info/dependency_links.txt
@@ -212,9 +182,7 @@ src/sempy_labs/report/_report_list_functions.py
212
182
  src/sempy_labs/report/_report_rebind.py
213
183
  src/sempy_labs/report/_reportwrapper.py
214
184
  src/sempy_labs/report/_save_report.py
215
- src/sempy_labs/report/_bpareporttemplate/.platform
216
185
  src/sempy_labs/report/_bpareporttemplate/definition.pbir
217
- src/sempy_labs/report/_bpareporttemplate/.pbi/localSettings.json
218
186
  src/sempy_labs/report/_bpareporttemplate/StaticResources/SharedResources/BaseThemes/CY24SU06.json
219
187
  src/sempy_labs/report/_bpareporttemplate/definition/report.json
220
188
  src/sempy_labs/report/_bpareporttemplate/definition/version.json
@@ -246,5 +214,4 @@ src/sempy_labs/theme/_org_themes.py
246
214
  src/sempy_labs/tom/__init__.py
247
215
  src/sempy_labs/tom/_model.py
248
216
  src/sempy_labs/variable_library/__init__.py
249
- src/sempy_labs/variable_library/_functions.py
250
- tests/__init__.py
217
+ src/sempy_labs/variable_library/_functions.py
@@ -1,2 +1,2 @@
1
1
  lib_name = "semanticlinklabs"
2
- lib_version = "0.12.0"
2
+ lib_version = "0.12.1"
@@ -19,7 +19,7 @@ class ServicePrincipalTokenProvider(TokenCredential):
19
19
  "azure": "https://management.azure.com/.default",
20
20
  "graph": "https://graph.microsoft.com/.default",
21
21
  "asazure": "https://{region}.asazure.windows.net/.default",
22
- "keyvault": "https://vault.azure.net/.default"
22
+ "keyvault": "https://vault.azure.net/.default",
23
23
  }
24
24
 
25
25
  def __init__(self, credential: ClientSecretCredential):
@@ -152,10 +152,14 @@ class ServicePrincipalTokenProvider(TokenCredential):
152
152
  scopes = ("pbi",)
153
153
 
154
154
  region = kwargs.pop("region", None)
155
- scopes = [self._get_fully_qualified_scope(scope, region=region) for scope in scopes]
155
+ scopes = [
156
+ self._get_fully_qualified_scope(scope, region=region) for scope in scopes
157
+ ]
156
158
  return self.credential.get_token(*scopes, **kwargs)
157
159
 
158
- def _get_fully_qualified_scope(self, scope: str, region: Optional[str] = None) -> str:
160
+ def _get_fully_qualified_scope(
161
+ self, scope: str, region: Optional[str] = None
162
+ ) -> str:
159
163
  """
160
164
  Resolve to fully qualified scope if Fabric short-handed scope is given.
161
165
  Otherwise, return the original scope.
@@ -285,16 +285,16 @@ def list_capacities(
285
285
  "Users": i.get("users", []),
286
286
  }
287
287
 
288
- if include_tenant_key:
289
- tenant_key = i.get("tenantKey") or {}
290
- row.update(
291
- {
292
- "Tenant Key Id": tenant_key.get("id"),
293
- "Tenant Key Name": tenant_key.get("name"),
294
- }
295
- )
296
-
297
- rows.append(row)
288
+ if include_tenant_key:
289
+ tenant_key = i.get("tenantKey") or {}
290
+ row.update(
291
+ {
292
+ "Tenant Key Id": tenant_key.get("id"),
293
+ "Tenant Key Name": tenant_key.get("name"),
294
+ }
295
+ )
296
+
297
+ rows.append(row)
298
298
 
299
299
  if rows:
300
300
  df = pd.DataFrame(rows, columns=list(columns.keys()))
@@ -12,8 +12,8 @@ from uuid import UUID
12
12
 
13
13
  @log
14
14
  def report_rebind(
15
- report: str | List[str],
16
- dataset: str,
15
+ report: str | UUID | List[str | UUID],
16
+ dataset: str | UUID,
17
17
  report_workspace: Optional[str | UUID] = None,
18
18
  dataset_workspace: Optional[str | UUID] = None,
19
19
  ):
@@ -77,47 +77,50 @@ def report_rebind(
77
77
 
78
78
  @log
79
79
  def report_rebind_all(
80
- dataset: str,
81
- new_dataset: str,
82
- dataset_workspace: Optional[str] = None,
83
- new_dataset_workpace: Optional[str] = None,
84
- report_workspace: Optional[str | List[str]] = None,
80
+ dataset: str | UUID,
81
+ new_dataset: str | UUID,
82
+ dataset_workspace: Optional[str | UUID] = None,
83
+ new_dataset_workspace: Optional[str | UUID] = None,
84
+ report_workspace: Optional[str | UUID | List[str | UUID]] = None,
85
85
  ):
86
86
  """
87
- Rebinds all reports across all workspaces which are bound to a specific semantic model to a new semantic model.
87
+ Rebinds all reports across the provided report workspaces which are bound to a specific semantic model to a new semantic model.
88
88
 
89
89
  Service Principal Authentication is supported (see `here <https://github.com/microsoft/semantic-link-labs/blob/main/notebooks/Service%20Principal.ipynb>`_ for examples).
90
90
 
91
91
  Parameters
92
92
  ----------
93
- dataset : str
93
+ dataset : str | uuid.UUID
94
94
  Name of the semantic model currently binded to the reports.
95
- new_dataset : str
95
+ new_dataset : str | uuid.UUID
96
96
  Name of the semantic model to rebind to the reports.
97
- dataset_workspace : str, default=None
97
+ dataset_workspace : str | uuid.UUID, default=None
98
98
  The name of the Fabric workspace in which the original semantic model resides.
99
99
  Defaults to None which resolves to the workspace of the attached lakehouse
100
100
  or if no lakehouse attached, resolves to the workspace of the notebook.
101
- new_dataset_workspace : str, default=None
101
+ new_dataset_workspace : str | uuid.UUID, default=None
102
102
  The name of the Fabric workspace in which the new semantic model resides.
103
103
  Defaults to None which resolves to the workspace of the attached lakehouse
104
104
  or if no lakehouse attached, resolves to the workspace of the notebook.
105
- report_workspace : str | List[str], default=None
106
- The name(s) of the Fabric workspace(s) in which the report(s) reside(s).
105
+ report_workspace : str | uuid.UUID | List[str | uuid.UUID], default=None
106
+ The name(s) or IDs of the Fabric workspace(s) in which the report(s) reside(s).
107
107
  Defaults to None which finds all reports in all workspaces which use the semantic model and rebinds them to
108
108
  the new semantic model.
109
109
  """
110
110
 
111
111
  from sempy_labs._list_functions import list_reports_using_semantic_model
112
112
 
113
- if dataset == new_dataset:
114
- raise ValueError(
115
- f"{icons.red_dot} The 'dataset' and 'new_dataset' parameters are both set to '{dataset}'. These parameters must be set to different values."
116
- )
117
-
118
113
  (dataset_name, dataset_id) = resolve_dataset_name_and_id(
119
114
  dataset=dataset, workspace=dataset_workspace
120
115
  )
116
+ (new_dataset_name, new_dataset_id) = resolve_dataset_name_and_id(
117
+ dataset=new_dataset, workspace=new_dataset_workspace
118
+ )
119
+
120
+ if dataset_id == new_dataset_id:
121
+ raise ValueError(
122
+ f"{icons.red_dot} The 'dataset' and 'new_dataset' parameters are both set to '{dataset}'. These parameters must be set to different values."
123
+ )
121
124
  (dataset_workspace_name, dataset_workspace_id) = resolve_workspace_name_and_id(
122
125
  workspace=dataset_workspace
123
126
  )
@@ -129,7 +132,7 @@ def report_rebind_all(
129
132
  dataset=dataset, workspace=dataset_workspace
130
133
  )
131
134
 
132
- if len(dfR) == 0:
135
+ if dfR.empty:
133
136
  print(
134
137
  f"{icons.info} The '{dataset_name}' semantic model within the '{dataset_workspace_name}' workspace has no dependent reports."
135
138
  )
@@ -138,9 +141,18 @@ def report_rebind_all(
138
141
  if report_workspace is None:
139
142
  dfR_filt = dfR.copy()
140
143
  else:
141
- dfR_filt = dfR[dfR["Report Workspace Name"].isin(report_workspace)]
144
+ dfR_filt = dfR[
145
+ (dfR["Report Workspace Name"].isin(report_workspace))
146
+ | (dfR["Report Workspace ID"].isin(report_workspace))
147
+ ]
148
+
149
+ if dfR_filt.empty:
150
+ print(
151
+ f"{icons.info} No reports found for the '{dataset_name}' semantic model within the '{dataset_workspace_name}' workspace."
152
+ )
153
+ return
142
154
 
143
- for i, r in dfR_filt.iterrows():
155
+ for _, r in dfR_filt.iterrows():
144
156
  rpt_name = r["Report Name"]
145
157
  rpt_wksp = r["Report Workspace Name"]
146
158
 
@@ -148,5 +160,5 @@ def report_rebind_all(
148
160
  report=rpt_name,
149
161
  dataset=new_dataset,
150
162
  report_workspace=rpt_wksp,
151
- dataset_workspace=new_dataset_workpace,
163
+ dataset_workspace=new_dataset_workspace,
152
164
  )
@@ -1,32 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: ''
5
- labels: bug
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Describe the bug**
11
- A clear and concise description of what the bug is.
12
-
13
- **To Reproduce**
14
- Steps to reproduce the behavior:
15
- 1. Go to '...'
16
- 2. Click on '....'
17
- 3. Scroll down to '....'
18
- 4. See error
19
-
20
- **Expected behavior**
21
- A clear and concise description of what you expected to happen.
22
-
23
- **Screenshots**
24
- If applicable, add screenshots to help explain your problem.
25
-
26
- **Desktop (please complete the following information):**
27
- - OS: [e.g. iOS]
28
- - Browser [e.g. chrome, safari]
29
- - Version [e.g. 22]
30
-
31
- **Additional context**
32
- Add any other context about the problem here.
@@ -1,20 +0,0 @@
1
- ---
2
- name: Feature request
3
- about: Suggest an idea for this project
4
- title: ''
5
- labels: enhancement
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Is your feature request related to a problem? Please describe.**
11
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
-
13
- **Describe the solution you'd like**
14
- A clear and concise description of what you want to happen.
15
-
16
- **Describe alternatives you've considered**
17
- A clear and concise description of any alternative solutions or features you've considered.
18
-
19
- **Additional context**
20
- Add any other context or screenshots about the feature request here.
@@ -1,14 +0,0 @@
1
- ---
2
- name: 'Issue: Question / Advice needed'
3
- about: Ask a question about this project
4
- title: ''
5
- labels: question
6
- assignees: ''
7
-
8
- ---
9
-
10
- **What are you trying to achieve?**
11
- Provide a brief background description of the problem you're trying to solve. Include information about the semantic engine you're working on (Power BI Desktop, Azure Analysis Services, etc.), as not everything is possible across engines.
12
-
13
- **What have you tried so far?**
14
- If applicable, describe the steps you have tried so far. For scripting-related questions, show the code that you have written.
@@ -1,69 +0,0 @@
1
- name: Semantic Link Labs
2
-
3
- on: [push]
4
-
5
- permissions:
6
- contents: write # This is required for actions/checkout@v1
7
-
8
- jobs:
9
- build:
10
- runs-on: ubuntu-latest
11
-
12
- steps:
13
- - uses: actions/checkout@v3
14
- - name: Set up Python
15
- uses: actions/setup-python@v4
16
- with:
17
- python-version: "3.10"
18
-
19
- - name: Setup dotnet
20
- uses: actions/setup-dotnet@v4
21
- with:
22
- dotnet-version: |
23
- 8.0.x
24
-
25
- - name: Get Date
26
- id: get-date
27
- run: echo "today=$(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT
28
- shell: bash
29
-
30
- - name: Cache conda
31
- uses: actions/cache@v3
32
- env:
33
- # Increase this value to reset cache if environment.yml has not changed
34
- CACHE_NUMBER: 0
35
- with:
36
- path: ~/conda_pkgs_dir
37
- key:
38
- ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ steps.get-date.outputs.today }}-${{ hashFiles('environment.yml') }}
39
-
40
- - uses: conda-incubator/setup-miniconda@v3
41
- with:
42
- auto-update-conda: true
43
- activate-environment: fabric
44
- python-version: "3.10"
45
- environment-file: environment.yml
46
- channel-priority: strict
47
-
48
- - name: Install package
49
- shell: bash -el {0}
50
- run: |
51
- conda info
52
- pip install -e .
53
-
54
- # - name: Lint with flake8
55
- # shell: bash -el {0}
56
- # run: |
57
- # flake8 sempy_labs tests --count --show-source --statistics
58
- # continue-on-error: false
59
-
60
- # - name: Lint with mypy
61
- # shell: bash -el {0}
62
- # run: |
63
- # mypy sempy_labs tests
64
- # continue-on-error: false
65
-
66
- - name: Test with pytest
67
- shell: bash -el {0}
68
- run: |
69
- pytest -s tests/
@@ -1,30 +0,0 @@
1
- on:
2
- push:
3
- branches: [main]
4
- pull_request:
5
- branches: [main]
6
- schedule:
7
- - cron: '20 14 * * 1'
8
-
9
- permissions:
10
- actions: read
11
- contents: read
12
- security-events: write # To upload sarif files
13
-
14
- jobs:
15
- analyze:
16
- name: Analyze
17
- runs-on: ubuntu-latest
18
-
19
- steps:
20
- - uses: actions/checkout@v3
21
-
22
- - name: Initialize CodeQL
23
- uses: github/codeql-action/init@v3
24
- with:
25
- languages: python
26
-
27
- - name: Perform CodeQL Analysis
28
- uses: github/codeql-action/analyze@v3
29
-
30
-
@@ -1,160 +0,0 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # C extensions
7
- *.so
8
-
9
- # Distribution / packaging
10
- .Python
11
- build/
12
- develop-eggs/
13
- dist/
14
- downloads/
15
- eggs/
16
- .eggs/
17
- lib/
18
- lib64/
19
- parts/
20
- sdist/
21
- var/
22
- wheels/
23
- share/python-wheels/
24
- *.egg-info/
25
- .installed.cfg
26
- *.egg
27
- MANIFEST
28
-
29
- # PyInstaller
30
- # Usually these files are written by a python script from a template
31
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
- *.manifest
33
- *.spec
34
-
35
- # Installer logs
36
- pip-log.txt
37
- pip-delete-this-directory.txt
38
-
39
- # Unit test / coverage reports
40
- htmlcov/
41
- .tox/
42
- .nox/
43
- .coverage
44
- .coverage.*
45
- .cache
46
- nosetests.xml
47
- coverage.xml
48
- *.cover
49
- *.py,cover
50
- .hypothesis/
51
- .pytest_cache/
52
- cover/
53
-
54
- # Translations
55
- *.mo
56
- *.pot
57
-
58
- # Django stuff:
59
- *.log
60
- local_settings.py
61
- db.sqlite3
62
- db.sqlite3-journal
63
-
64
- # Flask stuff:
65
- instance/
66
- .webassets-cache
67
-
68
- # Scrapy stuff:
69
- .scrapy
70
-
71
- # Sphinx documentation
72
- docs/_build/
73
-
74
- # PyBuilder
75
- .pybuilder/
76
- target/
77
-
78
- # Jupyter Notebook
79
- .ipynb_checkpoints
80
-
81
- # IPython
82
- profile_default/
83
- ipython_config.py
84
-
85
- # pyenv
86
- # For a library or package, you might want to ignore these files since the code is
87
- # intended to run in multiple environments; otherwise, check them in:
88
- # .python-version
89
-
90
- # pipenv
91
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
- # install all needed dependencies.
95
- #Pipfile.lock
96
-
97
- # poetry
98
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
- # This is especially recommended for binary packages to ensure reproducibility, and is more
100
- # commonly ignored for libraries.
101
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
- #poetry.lock
103
-
104
- # pdm
105
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
- #pdm.lock
107
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
- # in version control.
109
- # https://pdm.fming.dev/#use-with-ide
110
- .pdm.toml
111
-
112
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
- __pypackages__/
114
-
115
- # Celery stuff
116
- celerybeat-schedule
117
- celerybeat.pid
118
-
119
- # SageMath parsed files
120
- *.sage.py
121
-
122
- # Environments
123
- .env
124
- .venv
125
- env/
126
- venv/
127
- ENV/
128
- env.bak/
129
- venv.bak/
130
-
131
- # Spyder project settings
132
- .spyderproject
133
- .spyproject
134
-
135
- # Rope project settings
136
- .ropeproject
137
-
138
- # mkdocs documentation
139
- /site
140
-
141
- # mypy
142
- .mypy_cache/
143
- .dmypy.json
144
- dmypy.json
145
-
146
- # Pyre type checker
147
- .pyre/
148
-
149
- # pytype static type analyzer
150
- .pytype/
151
-
152
- # Cython debug symbols
153
- cython_debug/
154
-
155
- # PyCharm
156
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
- # and can be added to the global gitignore or merged into this file. For a more nuclear
159
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
- #.idea/
@@ -1,33 +0,0 @@
1
- # .readthedocs.yaml
2
- # Read the Docs configuration file
3
- # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
-
5
- # Required
6
- version: 2
7
-
8
- # Set the OS, Python version and other tools you might need
9
- build:
10
- os: ubuntu-22.04
11
- tools:
12
- python: "3.12"
13
- # You can also specify other tool versions:
14
- # nodejs: "19"
15
- # rust: "1.64"
16
- # golang: "1.19"
17
- jobs:
18
- pre_build:
19
- - sphinx-apidoc -f -o docs/source src/sempy_labs/
20
-
21
- # Build documentation in the "docs/" directory with Sphinx
22
- sphinx:
23
- configuration: docs/source/conf.py
24
-
25
- # Optionally build your docs in additional formats such as PDF and ePub
26
- # formats:
27
- # - pdf
28
- # - epub
29
-
30
- # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
31
- python:
32
- install:
33
- - requirements: docs/requirements.txt
@@ -1,7 +0,0 @@
1
- {
2
- "python.testing.pytestArgs": [
3
- "tests"
4
- ],
5
- "python.testing.unittestEnabled": false,
6
- "python.testing.pytestEnabled": true
7
- }