acryl-datahub-cloud 0.3.14rc0__py3-none-any.whl → 0.3.14rc2__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 acryl-datahub-cloud might be problematic. Click here for more details.

Files changed (29) hide show
  1. acryl_datahub_cloud/_codegen_config.json +1 -1
  2. acryl_datahub_cloud/datahub_usage_reporting/excluded.py +94 -0
  3. acryl_datahub_cloud/datahub_usage_reporting/usage_feature_reporter.py +26 -7
  4. acryl_datahub_cloud/metadata/_urns/urn_defs.py +2034 -2034
  5. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/event/notification/settings/__init__.py +2 -0
  6. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/settings/asset/__init__.py +19 -0
  7. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/settings/global/__init__.py +6 -0
  8. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/template/__init__.py +6 -0
  9. acryl_datahub_cloud/metadata/schema.avsc +25471 -25146
  10. acryl_datahub_cloud/metadata/schema_classes.py +1173 -685
  11. acryl_datahub_cloud/metadata/schemas/AssetSettings.avsc +63 -0
  12. acryl_datahub_cloud/metadata/schemas/CorpGroupSettings.avsc +123 -2
  13. acryl_datahub_cloud/metadata/schemas/CorpUserSettings.avsc +123 -2
  14. acryl_datahub_cloud/metadata/schemas/DataHubPageModuleProperties.avsc +8 -0
  15. acryl_datahub_cloud/metadata/schemas/DataHubPageTemplateProperties.avsc +77 -1
  16. acryl_datahub_cloud/metadata/schemas/DataProductKey.avsc +1 -0
  17. acryl_datahub_cloud/metadata/schemas/DomainKey.avsc +1 -0
  18. acryl_datahub_cloud/metadata/schemas/GlobalSettingsInfo.avsc +82 -0
  19. acryl_datahub_cloud/metadata/schemas/GlossaryNodeKey.avsc +1 -0
  20. acryl_datahub_cloud/metadata/schemas/GlossaryTermKey.avsc +1 -0
  21. acryl_datahub_cloud/metadata/schemas/MonitorSuiteInfo.avsc +123 -2
  22. acryl_datahub_cloud/metadata/schemas/NotificationRequest.avsc +8 -2
  23. acryl_datahub_cloud/metadata/schemas/StructuredPropertyDefinition.avsc +0 -3
  24. acryl_datahub_cloud/metadata/schemas/SubscriptionInfo.avsc +123 -2
  25. {acryl_datahub_cloud-0.3.14rc0.dist-info → acryl_datahub_cloud-0.3.14rc2.dist-info}/METADATA +50 -50
  26. {acryl_datahub_cloud-0.3.14rc0.dist-info → acryl_datahub_cloud-0.3.14rc2.dist-info}/RECORD +29 -26
  27. {acryl_datahub_cloud-0.3.14rc0.dist-info → acryl_datahub_cloud-0.3.14rc2.dist-info}/WHEEL +0 -0
  28. {acryl_datahub_cloud-0.3.14rc0.dist-info → acryl_datahub_cloud-0.3.14rc2.dist-info}/entry_points.txt +0 -0
  29. {acryl_datahub_cloud-0.3.14rc0.dist-info → acryl_datahub_cloud-0.3.14rc2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,63 @@
1
+ {
2
+ "type": "record",
3
+ "Aspect": {
4
+ "name": "assetSettings"
5
+ },
6
+ "name": "AssetSettings",
7
+ "namespace": "com.linkedin.pegasus2avro.settings.asset",
8
+ "fields": [
9
+ {
10
+ "type": [
11
+ "null",
12
+ {
13
+ "type": "record",
14
+ "name": "AssetSummarySettings",
15
+ "namespace": "com.linkedin.pegasus2avro.settings.asset",
16
+ "fields": [
17
+ {
18
+ "Relationship": {
19
+ "/*/template": {
20
+ "entityTypes": [
21
+ "dataHubPageTemplate"
22
+ ],
23
+ "name": "HasSummaryTemplate"
24
+ }
25
+ },
26
+ "type": [
27
+ {
28
+ "type": "array",
29
+ "items": {
30
+ "type": "record",
31
+ "name": "AssetSummarySettingsTemplate",
32
+ "namespace": "com.linkedin.pegasus2avro.settings.asset",
33
+ "fields": [
34
+ {
35
+ "java": {
36
+ "class": "com.linkedin.pegasus2avro.common.urn.Urn"
37
+ },
38
+ "type": "string",
39
+ "name": "template",
40
+ "doc": "The urn of the template",
41
+ "Urn": "Urn"
42
+ }
43
+ ],
44
+ "doc": "Object containing the template and any additional info for asset summary settings"
45
+ }
46
+ },
47
+ "null"
48
+ ],
49
+ "name": "templates",
50
+ "default": [],
51
+ "doc": "The list of templates applied to this asset in order. Right now we only expect one."
52
+ }
53
+ ],
54
+ "doc": "Information related to the asset summary for this asset"
55
+ }
56
+ ],
57
+ "name": "assetSummary",
58
+ "default": null,
59
+ "doc": "Information related to the asset summary for this asset"
60
+ }
61
+ ],
62
+ "doc": "Settings associated with this asset"
63
+ }
@@ -21,13 +21,15 @@
21
21
  "type": "enum",
22
22
  "symbolDocs": {
23
23
  "EMAIL": "Email target type.",
24
- "SLACK": "Slack target type."
24
+ "SLACK": "Slack target type.",
25
+ "TEAMS": "Microsoft Teams target type."
25
26
  },
26
27
  "name": "NotificationSinkType",
27
28
  "namespace": "com.linkedin.pegasus2avro.event.notification",
28
29
  "symbols": [
29
30
  "SLACK",
30
- "EMAIL"
31
+ "EMAIL",
32
+ "TEAMS"
31
33
  ],
32
34
  "doc": "A type of sink / platform to send a notification to."
33
35
  }
@@ -93,6 +95,125 @@
93
95
  "default": null,
94
96
  "doc": "Email Notification Settings"
95
97
  },
98
+ {
99
+ "type": [
100
+ "null",
101
+ {
102
+ "type": "record",
103
+ "name": "TeamsNotificationSettings",
104
+ "namespace": "com.linkedin.pegasus2avro.event.notification.settings",
105
+ "fields": [
106
+ {
107
+ "type": [
108
+ "null",
109
+ {
110
+ "type": "record",
111
+ "name": "TeamsUser",
112
+ "namespace": "com.linkedin.pegasus2avro.settings.global",
113
+ "fields": [
114
+ {
115
+ "type": [
116
+ "null",
117
+ "string"
118
+ ],
119
+ "name": "teamsUserId",
120
+ "default": null,
121
+ "doc": "The Teams user ID (internal Teams identifier).\nThis is the primary identifier used for Teams messaging."
122
+ },
123
+ {
124
+ "type": [
125
+ "null",
126
+ "string"
127
+ ],
128
+ "name": "azureUserId",
129
+ "default": null,
130
+ "doc": "The Azure AD user ID (Azure Active Directory object ID).\nThis is the primary identifier for Azure AD operations and Microsoft Graph API calls."
131
+ },
132
+ {
133
+ "type": [
134
+ "null",
135
+ "string"
136
+ ],
137
+ "name": "email",
138
+ "default": null,
139
+ "doc": "The user's email address (fallback identifier).\nUsed when other IDs are not available or for email-based user resolution."
140
+ },
141
+ {
142
+ "type": [
143
+ "null",
144
+ "string"
145
+ ],
146
+ "name": "displayName",
147
+ "default": null,
148
+ "doc": "The user's display name (cached value, may be stale).\nRetrieved from Microsoft Graph API and cached for performance."
149
+ },
150
+ {
151
+ "type": [
152
+ "null",
153
+ "long"
154
+ ],
155
+ "name": "lastUpdated",
156
+ "default": null,
157
+ "doc": "The timestamp when the cached display name was last updated.\nUsed for TTL-based cache invalidation (milliseconds since epoch)."
158
+ }
159
+ ],
160
+ "doc": "Teams user information with cached display name and multiple ID support.\nFollows the same caching pattern as TeamsChannel for consistency."
161
+ }
162
+ ],
163
+ "name": "user",
164
+ "default": null,
165
+ "doc": "Optional structured user information with cached metadata.\nSupports both Azure AD user ID and Teams user ID with cached display name."
166
+ },
167
+ {
168
+ "type": [
169
+ "null",
170
+ {
171
+ "type": "array",
172
+ "items": {
173
+ "type": "record",
174
+ "name": "TeamsChannel",
175
+ "namespace": "com.linkedin.pegasus2avro.settings.global",
176
+ "fields": [
177
+ {
178
+ "type": "string",
179
+ "name": "id",
180
+ "doc": "The Teams channel ID (internal Teams identifier)."
181
+ },
182
+ {
183
+ "type": [
184
+ "null",
185
+ "string"
186
+ ],
187
+ "name": "name",
188
+ "default": null,
189
+ "doc": "The Teams channel display name (cached value, may be stale)."
190
+ },
191
+ {
192
+ "type": [
193
+ "null",
194
+ "long"
195
+ ],
196
+ "name": "lastUpdated",
197
+ "default": null,
198
+ "doc": "The timestamp when the cached name was last updated.\nUsed for TTL-based cache invalidation."
199
+ }
200
+ ],
201
+ "doc": "Teams channel information with cached display name."
202
+ }
203
+ }
204
+ ],
205
+ "name": "channels",
206
+ "default": null,
207
+ "doc": "Optional list of structured channels with cached metadata"
208
+ }
209
+ ],
210
+ "doc": "Microsoft Teams Notification settings for an actor."
211
+ }
212
+ ],
213
+ "name": "teamsSettings",
214
+ "default": null,
215
+ "doc": "Microsoft Teams Notification Settings"
216
+ },
96
217
  {
97
218
  "type": [
98
219
  "null",
@@ -80,13 +80,15 @@
80
80
  "type": "enum",
81
81
  "symbolDocs": {
82
82
  "EMAIL": "Email target type.",
83
- "SLACK": "Slack target type."
83
+ "SLACK": "Slack target type.",
84
+ "TEAMS": "Microsoft Teams target type."
84
85
  },
85
86
  "name": "NotificationSinkType",
86
87
  "namespace": "com.linkedin.pegasus2avro.event.notification",
87
88
  "symbols": [
88
89
  "SLACK",
89
- "EMAIL"
90
+ "EMAIL",
91
+ "TEAMS"
90
92
  ],
91
93
  "doc": "A type of sink / platform to send a notification to."
92
94
  }
@@ -152,6 +154,125 @@
152
154
  "default": null,
153
155
  "doc": "Email Notification Settings"
154
156
  },
157
+ {
158
+ "type": [
159
+ "null",
160
+ {
161
+ "type": "record",
162
+ "name": "TeamsNotificationSettings",
163
+ "namespace": "com.linkedin.pegasus2avro.event.notification.settings",
164
+ "fields": [
165
+ {
166
+ "type": [
167
+ "null",
168
+ {
169
+ "type": "record",
170
+ "name": "TeamsUser",
171
+ "namespace": "com.linkedin.pegasus2avro.settings.global",
172
+ "fields": [
173
+ {
174
+ "type": [
175
+ "null",
176
+ "string"
177
+ ],
178
+ "name": "teamsUserId",
179
+ "default": null,
180
+ "doc": "The Teams user ID (internal Teams identifier).\nThis is the primary identifier used for Teams messaging."
181
+ },
182
+ {
183
+ "type": [
184
+ "null",
185
+ "string"
186
+ ],
187
+ "name": "azureUserId",
188
+ "default": null,
189
+ "doc": "The Azure AD user ID (Azure Active Directory object ID).\nThis is the primary identifier for Azure AD operations and Microsoft Graph API calls."
190
+ },
191
+ {
192
+ "type": [
193
+ "null",
194
+ "string"
195
+ ],
196
+ "name": "email",
197
+ "default": null,
198
+ "doc": "The user's email address (fallback identifier).\nUsed when other IDs are not available or for email-based user resolution."
199
+ },
200
+ {
201
+ "type": [
202
+ "null",
203
+ "string"
204
+ ],
205
+ "name": "displayName",
206
+ "default": null,
207
+ "doc": "The user's display name (cached value, may be stale).\nRetrieved from Microsoft Graph API and cached for performance."
208
+ },
209
+ {
210
+ "type": [
211
+ "null",
212
+ "long"
213
+ ],
214
+ "name": "lastUpdated",
215
+ "default": null,
216
+ "doc": "The timestamp when the cached display name was last updated.\nUsed for TTL-based cache invalidation (milliseconds since epoch)."
217
+ }
218
+ ],
219
+ "doc": "Teams user information with cached display name and multiple ID support.\nFollows the same caching pattern as TeamsChannel for consistency."
220
+ }
221
+ ],
222
+ "name": "user",
223
+ "default": null,
224
+ "doc": "Optional structured user information with cached metadata.\nSupports both Azure AD user ID and Teams user ID with cached display name."
225
+ },
226
+ {
227
+ "type": [
228
+ "null",
229
+ {
230
+ "type": "array",
231
+ "items": {
232
+ "type": "record",
233
+ "name": "TeamsChannel",
234
+ "namespace": "com.linkedin.pegasus2avro.settings.global",
235
+ "fields": [
236
+ {
237
+ "type": "string",
238
+ "name": "id",
239
+ "doc": "The Teams channel ID (internal Teams identifier)."
240
+ },
241
+ {
242
+ "type": [
243
+ "null",
244
+ "string"
245
+ ],
246
+ "name": "name",
247
+ "default": null,
248
+ "doc": "The Teams channel display name (cached value, may be stale)."
249
+ },
250
+ {
251
+ "type": [
252
+ "null",
253
+ "long"
254
+ ],
255
+ "name": "lastUpdated",
256
+ "default": null,
257
+ "doc": "The timestamp when the cached name was last updated.\nUsed for TTL-based cache invalidation."
258
+ }
259
+ ],
260
+ "doc": "Teams channel information with cached display name."
261
+ }
262
+ }
263
+ ],
264
+ "name": "channels",
265
+ "default": null,
266
+ "doc": "Optional list of structured channels with cached metadata"
267
+ }
268
+ ],
269
+ "doc": "Microsoft Teams Notification settings for an actor."
270
+ }
271
+ ],
272
+ "name": "teamsSettings",
273
+ "default": null,
274
+ "doc": "Microsoft Teams Notification Settings"
275
+ },
155
276
  {
156
277
  "type": [
157
278
  "null",
@@ -18,11 +18,15 @@
18
18
  "type": {
19
19
  "type": "enum",
20
20
  "symbolDocs": {
21
+ "ASSETS": "Module displaying the assets of parent entity",
21
22
  "ASSET_COLLECTION": "A module with a collection of assets",
23
+ "CHILD_HIERARCHY": "Module displaying the hierarchy of the children of a given entity. Glossary or Domains.",
24
+ "DATA_PRODUCTS": "Module displaying child data products of a given domain",
22
25
  "DOMAINS": "Module displaying the top domains",
23
26
  "HIERARCHY": "A module displaying a hierarchy to navigate",
24
27
  "LINK": "Link type module",
25
28
  "OWNED_ASSETS": "Module displaying assets owned by a user",
29
+ "RELATED_TERMS": "Module displaying the related terms of a given glossary term",
26
30
  "RICH_TEXT": "Module containing rich text to be rendered",
27
31
  "SUBSCRIBED_ASSETS": "Module displaying assets subscribed to by a given user",
28
32
  "WORKFLOWS": "Module displaying workflows that can be started"
@@ -36,6 +40,10 @@
36
40
  "HIERARCHY",
37
41
  "OWNED_ASSETS",
38
42
  "DOMAINS",
43
+ "ASSETS",
44
+ "CHILD_HIERARCHY",
45
+ "DATA_PRODUCTS",
46
+ "RELATED_TERMS",
39
47
  "SUBSCRIBED_ASSETS",
40
48
  "WORKFLOWS"
41
49
  ],
@@ -39,6 +39,80 @@
39
39
  "name": "rows",
40
40
  "doc": "The rows of modules contained in this template"
41
41
  },
42
+ {
43
+ "type": [
44
+ "null",
45
+ {
46
+ "type": "record",
47
+ "name": "DataHubPageTemplateAssetSummary",
48
+ "namespace": "com.linkedin.pegasus2avro.template",
49
+ "fields": [
50
+ {
51
+ "type": [
52
+ "null",
53
+ {
54
+ "type": "array",
55
+ "items": {
56
+ "type": "record",
57
+ "name": "SummaryElement",
58
+ "namespace": "com.linkedin.pegasus2avro.template",
59
+ "fields": [
60
+ {
61
+ "type": {
62
+ "type": "enum",
63
+ "name": "SummaryElementType",
64
+ "namespace": "com.linkedin.pegasus2avro.template",
65
+ "symbols": [
66
+ "CREATED",
67
+ "TAGS",
68
+ "GLOSSARY_TERMS",
69
+ "OWNERS",
70
+ "DOMAIN",
71
+ "STRUCTURED_PROPERTY"
72
+ ]
73
+ },
74
+ "name": "elementType",
75
+ "doc": "The type of element/property"
76
+ },
77
+ {
78
+ "Relationship": {
79
+ "entityTypes": [
80
+ "structuredProperty"
81
+ ],
82
+ "name": "ContainsStructuredProperty"
83
+ },
84
+ "java": {
85
+ "class": "com.linkedin.pegasus2avro.common.urn.Urn"
86
+ },
87
+ "type": [
88
+ "null",
89
+ "string"
90
+ ],
91
+ "name": "structuredPropertyUrn",
92
+ "default": null,
93
+ "doc": "The urn of the structured property shown. Required if propertyType is STRUCTURED_PROPERTY",
94
+ "Urn": "Urn",
95
+ "entityTypes": [
96
+ "structuredProperty"
97
+ ]
98
+ }
99
+ ],
100
+ "doc": "Info for a given asset summary element"
101
+ }
102
+ }
103
+ ],
104
+ "name": "summaryElements",
105
+ "default": null,
106
+ "doc": "The optional list of properties shown on an asset summary page header."
107
+ }
108
+ ],
109
+ "doc": "The page template info for asset summaries"
110
+ }
111
+ ],
112
+ "name": "assetSummary",
113
+ "default": null,
114
+ "doc": "The optional info for asset summaries. Should be populated if surfaceType is ASSET_SUMMARY"
115
+ },
42
116
  {
43
117
  "type": {
44
118
  "type": "record",
@@ -52,12 +126,14 @@
52
126
  "type": {
53
127
  "type": "enum",
54
128
  "symbolDocs": {
129
+ "ASSET_SUMMARY": "This template applies to what to display on asset summary pages",
55
130
  "HOME_PAGE": "This template applies to what to display on the home page for users."
56
131
  },
57
132
  "name": "PageTemplateSurfaceType",
58
133
  "namespace": "com.linkedin.pegasus2avro.template",
59
134
  "symbols": [
60
- "HOME_PAGE"
135
+ "HOME_PAGE",
136
+ "ASSET_SUMMARY"
61
137
  ]
62
138
  },
63
139
  "name": "surfaceType",
@@ -17,6 +17,7 @@
17
17
  "forms",
18
18
  "testResults",
19
19
  "subTypes",
20
+ "assetSettings",
20
21
  "share",
21
22
  "origin"
22
23
  ]
@@ -12,6 +12,7 @@
12
12
  "forms",
13
13
  "testResults",
14
14
  "displayProperties",
15
+ "assetSettings",
15
16
  "share",
16
17
  "origin"
17
18
  ],
@@ -89,6 +89,88 @@
89
89
  "name": "emailSettings",
90
90
  "default": null,
91
91
  "doc": "Email integration settings."
92
+ },
93
+ {
94
+ "type": [
95
+ "null",
96
+ {
97
+ "type": "record",
98
+ "name": "TeamsIntegrationSettings",
99
+ "namespace": "com.linkedin.pegasus2avro.settings.global",
100
+ "fields": [
101
+ {
102
+ "deprecated": true,
103
+ "type": "boolean",
104
+ "name": "enabled",
105
+ "default": true,
106
+ "doc": "Whether the Teams integration is enabled or not.\nDeprecated! This is no longer used in favor of using the connections abstraction.\nIf a connection is present, then this is enabled."
107
+ },
108
+ {
109
+ "deprecated": true,
110
+ "type": [
111
+ "null",
112
+ "string"
113
+ ],
114
+ "name": "encryptedBotToken",
115
+ "default": null,
116
+ "doc": "An encrypted bot token.\nDeprecated! This is no longer used in favor of using the connections abstraction."
117
+ },
118
+ {
119
+ "deprecated": true,
120
+ "type": [
121
+ "null",
122
+ "string"
123
+ ],
124
+ "name": "defaultChannelName",
125
+ "default": null,
126
+ "doc": "A default Teams channel to use.\nDeprecated! Use defaultChannel instead."
127
+ },
128
+ {
129
+ "type": [
130
+ "null",
131
+ {
132
+ "type": "record",
133
+ "name": "TeamsChannel",
134
+ "namespace": "com.linkedin.pegasus2avro.settings.global",
135
+ "fields": [
136
+ {
137
+ "type": "string",
138
+ "name": "id",
139
+ "doc": "The Teams channel ID (internal Teams identifier)."
140
+ },
141
+ {
142
+ "type": [
143
+ "null",
144
+ "string"
145
+ ],
146
+ "name": "name",
147
+ "default": null,
148
+ "doc": "The Teams channel display name (cached value, may be stale)."
149
+ },
150
+ {
151
+ "type": [
152
+ "null",
153
+ "long"
154
+ ],
155
+ "name": "lastUpdated",
156
+ "default": null,
157
+ "doc": "The timestamp when the cached name was last updated.\nUsed for TTL-based cache invalidation."
158
+ }
159
+ ],
160
+ "doc": "Teams channel information with cached display name."
161
+ }
162
+ ],
163
+ "name": "defaultChannel",
164
+ "default": null,
165
+ "doc": "A default Teams channel to route notifications to."
166
+ }
167
+ ],
168
+ "doc": "Teams integration settings."
169
+ }
170
+ ],
171
+ "name": "teamsSettings",
172
+ "default": null,
173
+ "doc": "Teams integration settings."
92
174
  }
93
175
  ],
94
176
  "doc": "Native DataHub Integrations, supported on the UI."
@@ -14,6 +14,7 @@
14
14
  "testResults",
15
15
  "subTypes",
16
16
  "displayProperties",
17
+ "assetSettings",
17
18
  "share",
18
19
  "origin"
19
20
  ]
@@ -19,6 +19,7 @@
19
19
  "forms",
20
20
  "testResults",
21
21
  "subTypes",
22
+ "assetSettings",
22
23
  "share",
23
24
  "origin"
24
25
  ]