semantic-link-labs 0.6.0__py3-none-any.whl → 0.7.1__py3-none-any.whl
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.1.dist-info/METADATA +148 -0
- semantic_link_labs-0.7.1.dist-info/RECORD +111 -0
- {semantic_link_labs-0.6.0.dist-info → semantic_link_labs-0.7.1.dist-info}/WHEEL +1 -1
- sempy_labs/__init__.py +26 -2
- sempy_labs/_ai.py +3 -65
- sempy_labs/_bpa_translation/_translations_am-ET.po +828 -0
- sempy_labs/_bpa_translation/_translations_ar-AE.po +860 -0
- sempy_labs/_bpa_translation/_translations_cs-CZ.po +894 -0
- sempy_labs/_bpa_translation/_translations_da-DK.po +894 -0
- sempy_labs/_bpa_translation/_translations_de-DE.po +933 -0
- sempy_labs/_bpa_translation/_translations_el-GR.po +936 -0
- sempy_labs/_bpa_translation/_translations_es-ES.po +915 -0
- sempy_labs/_bpa_translation/_translations_fa-IR.po +883 -0
- sempy_labs/_bpa_translation/_translations_fr-FR.po +938 -0
- sempy_labs/_bpa_translation/_translations_ga-IE.po +912 -0
- sempy_labs/_bpa_translation/_translations_he-IL.po +855 -0
- sempy_labs/_bpa_translation/_translations_hi-IN.po +892 -0
- sempy_labs/_bpa_translation/_translations_hu-HU.po +910 -0
- sempy_labs/_bpa_translation/_translations_is-IS.po +887 -0
- sempy_labs/_bpa_translation/_translations_it-IT.po +931 -0
- sempy_labs/_bpa_translation/_translations_ja-JP.po +805 -0
- sempy_labs/_bpa_translation/_translations_nl-NL.po +924 -0
- sempy_labs/_bpa_translation/_translations_pl-PL.po +913 -0
- sempy_labs/_bpa_translation/_translations_pt-BR.po +909 -0
- sempy_labs/_bpa_translation/_translations_pt-PT.po +904 -0
- sempy_labs/_bpa_translation/_translations_ru-RU.po +909 -0
- sempy_labs/_bpa_translation/_translations_ta-IN.po +922 -0
- sempy_labs/_bpa_translation/_translations_te-IN.po +896 -0
- sempy_labs/_bpa_translation/_translations_th-TH.po +873 -0
- sempy_labs/_bpa_translation/_translations_zh-CN.po +767 -0
- sempy_labs/_bpa_translation/_translations_zu-ZA.po +916 -0
- sempy_labs/_clear_cache.py +9 -4
- sempy_labs/_generate_semantic_model.py +30 -56
- sempy_labs/_helper_functions.py +361 -14
- sempy_labs/_icons.py +10 -1
- sempy_labs/_list_functions.py +539 -260
- sempy_labs/_model_bpa.py +194 -18
- sempy_labs/_model_bpa_bulk.py +367 -0
- sempy_labs/_model_bpa_rules.py +19 -8
- sempy_labs/_model_dependencies.py +12 -10
- sempy_labs/_one_lake_integration.py +7 -7
- sempy_labs/_query_scale_out.py +61 -96
- sempy_labs/_refresh_semantic_model.py +7 -0
- sempy_labs/_translations.py +154 -1
- sempy_labs/_vertipaq.py +103 -90
- sempy_labs/directlake/__init__.py +5 -1
- sempy_labs/directlake/_directlake_schema_compare.py +27 -31
- sempy_labs/directlake/_directlake_schema_sync.py +55 -66
- sempy_labs/directlake/_dl_helper.py +233 -0
- sempy_labs/directlake/_get_directlake_lakehouse.py +6 -7
- sempy_labs/directlake/_get_shared_expression.py +1 -1
- sempy_labs/directlake/_guardrails.py +17 -13
- sempy_labs/directlake/_update_directlake_partition_entity.py +54 -30
- sempy_labs/directlake/_warm_cache.py +1 -1
- sempy_labs/lakehouse/__init__.py +2 -0
- sempy_labs/lakehouse/_get_lakehouse_tables.py +61 -69
- sempy_labs/lakehouse/_lakehouse.py +66 -9
- sempy_labs/lakehouse/_shortcuts.py +1 -1
- sempy_labs/migration/_create_pqt_file.py +174 -182
- sempy_labs/migration/_migrate_calctables_to_lakehouse.py +236 -268
- sempy_labs/migration/_migrate_calctables_to_semantic_model.py +75 -73
- sempy_labs/migration/_migrate_model_objects_to_semantic_model.py +442 -426
- sempy_labs/migration/_migrate_tables_columns_to_semantic_model.py +91 -97
- sempy_labs/migration/_refresh_calc_tables.py +92 -101
- sempy_labs/report/_BPAReportTemplate.json +232 -0
- sempy_labs/report/__init__.py +6 -2
- sempy_labs/report/_bpareporttemplate/.pbi/localSettings.json +9 -0
- sempy_labs/report/_bpareporttemplate/.platform +11 -0
- sempy_labs/report/_bpareporttemplate/StaticResources/SharedResources/BaseThemes/CY24SU06.json +710 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/page.json +11 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/1b08bce3bebabb0a27a8/visual.json +191 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/2f22ddb70c301693c165/visual.json +438 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/3b1182230aa6c600b43a/visual.json +127 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/58577ba6380c69891500/visual.json +576 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/a2a8fa5028b3b776c96c/visual.json +207 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/adfd47ef30652707b987/visual.json +506 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/b6a80ee459e716e170b1/visual.json +127 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/ce3130a721c020cc3d81/visual.json +513 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/92735ae19b31712208ad/page.json +8 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/92735ae19b31712208ad/visuals/66e60dfb526437cd78d1/visual.json +112 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/page.json +11 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/07deb8bce824e1be37d7/visual.json +513 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0b1c68838818b32ad03b/visual.json +352 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0c171de9d2683d10b930/visual.json +37 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0efa01be0510e40a645e/visual.json +542 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/6bf2f0eb830ab53cc668/visual.json +221 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/88d8141cb8500b60030c/visual.json +127 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/a753273590beed656a03/visual.json +576 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/b8fdc82cddd61ac447bc/visual.json +127 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/d37dce724a0ccc30044b/page.json +9 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/d37dce724a0ccc30044b/visuals/ce8532a7e25020271077/visual.json +38 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/pages.json +10 -0
- sempy_labs/report/_bpareporttemplate/definition/report.json +176 -0
- sempy_labs/report/_bpareporttemplate/definition/version.json +4 -0
- sempy_labs/report/_bpareporttemplate/definition.pbir +14 -0
- sempy_labs/report/_generate_report.py +255 -139
- sempy_labs/report/_report_functions.py +26 -33
- sempy_labs/report/_report_rebind.py +31 -26
- sempy_labs/tom/_model.py +75 -58
- semantic_link_labs-0.6.0.dist-info/METADATA +0 -22
- semantic_link_labs-0.6.0.dist-info/RECORD +0 -54
- sempy_labs/directlake/_fallback.py +0 -60
- {semantic_link_labs-0.6.0.dist-info → semantic_link_labs-0.7.1.dist-info}/LICENSE +0 -0
- {semantic_link_labs-0.6.0.dist-info → semantic_link_labs-0.7.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.1.0/schema.json",
|
|
3
|
+
"name": "0b1c68838818b32ad03b",
|
|
4
|
+
"position": {
|
|
5
|
+
"x": 605,
|
|
6
|
+
"y": 111.25,
|
|
7
|
+
"z": 6004,
|
|
8
|
+
"height": 192.5,
|
|
9
|
+
"width": 246.25,
|
|
10
|
+
"tabOrder": 6004
|
|
11
|
+
},
|
|
12
|
+
"visual": {
|
|
13
|
+
"visualType": "slicer",
|
|
14
|
+
"query": {
|
|
15
|
+
"queryState": {
|
|
16
|
+
"Values": {
|
|
17
|
+
"projections": [
|
|
18
|
+
{
|
|
19
|
+
"field": {
|
|
20
|
+
"Column": {
|
|
21
|
+
"Expression": {
|
|
22
|
+
"SourceRef": {
|
|
23
|
+
"Entity": "BPAResults"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"Property": "Workspace"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"queryRef": "BPAResults.Workspace Name",
|
|
30
|
+
"nativeQueryRef": "Workspace",
|
|
31
|
+
"active": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"field": {
|
|
35
|
+
"Column": {
|
|
36
|
+
"Expression": {
|
|
37
|
+
"SourceRef": {
|
|
38
|
+
"Entity": "BPAResults"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"Property": "Model"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"queryRef": "BPAResults.Model Name",
|
|
45
|
+
"nativeQueryRef": "Model",
|
|
46
|
+
"active": true
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"expansionStates": [
|
|
53
|
+
{
|
|
54
|
+
"roles": [
|
|
55
|
+
"Values"
|
|
56
|
+
],
|
|
57
|
+
"levels": [
|
|
58
|
+
{
|
|
59
|
+
"queryRefs": [
|
|
60
|
+
"BPAResults.Workspace Name"
|
|
61
|
+
],
|
|
62
|
+
"isCollapsed": true,
|
|
63
|
+
"identityKeys": [
|
|
64
|
+
{
|
|
65
|
+
"Column": {
|
|
66
|
+
"Expression": {
|
|
67
|
+
"SourceRef": {
|
|
68
|
+
"Entity": "BPAResults"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"Property": "Workspace"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"isPinned": true
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"queryRefs": [
|
|
79
|
+
"BPAResults.Model Name"
|
|
80
|
+
],
|
|
81
|
+
"isCollapsed": true,
|
|
82
|
+
"isPinned": true
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"root": {
|
|
86
|
+
"children": [
|
|
87
|
+
{
|
|
88
|
+
"identityValues": [
|
|
89
|
+
{
|
|
90
|
+
"Literal": {
|
|
91
|
+
"Value": "'MK Demo 6'"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"isToggled": true
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"identityValues": [
|
|
99
|
+
{
|
|
100
|
+
"Literal": {
|
|
101
|
+
"Value": "'MK Demo 4'"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"isToggled": true
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"objects": {
|
|
112
|
+
"data": [
|
|
113
|
+
{
|
|
114
|
+
"properties": {
|
|
115
|
+
"mode": {
|
|
116
|
+
"expr": {
|
|
117
|
+
"Literal": {
|
|
118
|
+
"Value": "'Basic'"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"general": [
|
|
126
|
+
{
|
|
127
|
+
"properties": {
|
|
128
|
+
"orientation": {
|
|
129
|
+
"expr": {
|
|
130
|
+
"Literal": {
|
|
131
|
+
"Value": "0D"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"filter": {
|
|
136
|
+
"filter": {
|
|
137
|
+
"Version": 2,
|
|
138
|
+
"From": [
|
|
139
|
+
{
|
|
140
|
+
"Name": "b",
|
|
141
|
+
"Entity": "BPAResults",
|
|
142
|
+
"Type": 0
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"Where": [
|
|
146
|
+
{
|
|
147
|
+
"Condition": {
|
|
148
|
+
"In": {
|
|
149
|
+
"Expressions": [
|
|
150
|
+
{
|
|
151
|
+
"Column": {
|
|
152
|
+
"Expression": {
|
|
153
|
+
"SourceRef": {
|
|
154
|
+
"Source": "b"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"Property": "Workspace"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"Column": {
|
|
162
|
+
"Expression": {
|
|
163
|
+
"SourceRef": {
|
|
164
|
+
"Source": "b"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"Property": "Model"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"Values": [
|
|
172
|
+
[
|
|
173
|
+
{
|
|
174
|
+
"Literal": {
|
|
175
|
+
"Value": "'MK Demo 4'"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"Literal": {
|
|
180
|
+
"Value": "'AdvWorks'"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"Annotations": {
|
|
188
|
+
"filterExpressionMetadata": {
|
|
189
|
+
"expressions": [
|
|
190
|
+
{
|
|
191
|
+
"Column": {
|
|
192
|
+
"Expression": {
|
|
193
|
+
"SourceRef": {
|
|
194
|
+
"Entity": "BPAResults"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"Property": "Workspace"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"Column": {
|
|
202
|
+
"Expression": {
|
|
203
|
+
"SourceRef": {
|
|
204
|
+
"Entity": "BPAResults"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"Property": "Model"
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"decomposedIdentities": {
|
|
212
|
+
"values": [
|
|
213
|
+
[
|
|
214
|
+
{
|
|
215
|
+
"0": [
|
|
216
|
+
{
|
|
217
|
+
"Literal": {
|
|
218
|
+
"Value": "'MK Demo 4'"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"1": [
|
|
225
|
+
{
|
|
226
|
+
"Literal": {
|
|
227
|
+
"Value": "'AdvWorks'"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
],
|
|
234
|
+
"columns": [
|
|
235
|
+
{
|
|
236
|
+
"value": {
|
|
237
|
+
"Column": {
|
|
238
|
+
"Expression": {
|
|
239
|
+
"SourceRef": {
|
|
240
|
+
"Entity": "BPAResults"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"Property": "Workspace"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"value": {
|
|
249
|
+
"Column": {
|
|
250
|
+
"Expression": {
|
|
251
|
+
"SourceRef": {
|
|
252
|
+
"Entity": "BPAResults"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"Property": "Model"
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
"valueMap": [
|
|
262
|
+
{
|
|
263
|
+
"0": "MK Demo 4",
|
|
264
|
+
"1": "AdvWorks"
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"header": [
|
|
277
|
+
{
|
|
278
|
+
"properties": {
|
|
279
|
+
"textSize": {
|
|
280
|
+
"expr": {
|
|
281
|
+
"Literal": {
|
|
282
|
+
"Value": "14D"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"selection": [
|
|
290
|
+
{
|
|
291
|
+
"properties": {
|
|
292
|
+
"strictSingleSelect": {
|
|
293
|
+
"expr": {
|
|
294
|
+
"Literal": {
|
|
295
|
+
"Value": "true"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
"visualContainerObjects": {
|
|
304
|
+
"border": [
|
|
305
|
+
{
|
|
306
|
+
"properties": {
|
|
307
|
+
"show": {
|
|
308
|
+
"expr": {
|
|
309
|
+
"Literal": {
|
|
310
|
+
"Value": "true"
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"color": {
|
|
315
|
+
"solid": {
|
|
316
|
+
"color": {
|
|
317
|
+
"expr": {
|
|
318
|
+
"ThemeDataColor": {
|
|
319
|
+
"ColorId": 0,
|
|
320
|
+
"Percent": 0
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"radius": {
|
|
327
|
+
"expr": {
|
|
328
|
+
"Literal": {
|
|
329
|
+
"Value": "20D"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
],
|
|
336
|
+
"dropShadow": [
|
|
337
|
+
{
|
|
338
|
+
"properties": {
|
|
339
|
+
"show": {
|
|
340
|
+
"expr": {
|
|
341
|
+
"Literal": {
|
|
342
|
+
"Value": "true"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
"drillFilterOtherVisuals": true
|
|
351
|
+
}
|
|
352
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.1.0/schema.json",
|
|
3
|
+
"name": "0c171de9d2683d10b930",
|
|
4
|
+
"position": {
|
|
5
|
+
"x": 25,
|
|
6
|
+
"y": 120,
|
|
7
|
+
"z": 6003,
|
|
8
|
+
"height": 53.75,
|
|
9
|
+
"width": 562.5,
|
|
10
|
+
"tabOrder": 6003
|
|
11
|
+
},
|
|
12
|
+
"visual": {
|
|
13
|
+
"visualType": "textbox",
|
|
14
|
+
"objects": {
|
|
15
|
+
"general": [
|
|
16
|
+
{
|
|
17
|
+
"properties": {
|
|
18
|
+
"paragraphs": [
|
|
19
|
+
{
|
|
20
|
+
"textRuns": [
|
|
21
|
+
{
|
|
22
|
+
"value": "Select a model within a workspace ---------------------------->",
|
|
23
|
+
"textStyle": {
|
|
24
|
+
"fontWeight": "bold",
|
|
25
|
+
"fontSize": "14pt"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"drillFilterOtherVisuals": true
|
|
36
|
+
}
|
|
37
|
+
}
|