acryl-datahub 1.2.0.10rc1__py3-none-any.whl → 1.2.0.10rc3__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 might be problematic. Click here for more details.

Files changed (29) hide show
  1. {acryl_datahub-1.2.0.10rc1.dist-info → acryl_datahub-1.2.0.10rc3.dist-info}/METADATA +2616 -2616
  2. {acryl_datahub-1.2.0.10rc1.dist-info → acryl_datahub-1.2.0.10rc3.dist-info}/RECORD +29 -29
  3. datahub/_version.py +1 -1
  4. datahub/ingestion/autogenerated/capability_summary.json +12 -0
  5. datahub/ingestion/source/dbt/dbt_common.py +65 -5
  6. datahub/ingestion/source/ge_data_profiler.py +15 -2
  7. datahub/ingestion/source/looker/looker_common.py +75 -74
  8. datahub/ingestion/source/looker/looker_source.py +445 -548
  9. datahub/ingestion/source/looker/lookml_source.py +46 -88
  10. datahub/ingestion/source/redash.py +1 -1
  11. datahub/ingestion/source/superset.py +121 -13
  12. datahub/ingestion/source/tableau/tableau.py +48 -8
  13. datahub/ingestion/source/tableau/tableau_common.py +5 -0
  14. datahub/ingestion/source/tableau/tableau_constant.py +1 -0
  15. datahub/ingestion/source/tableau/tableau_server_wrapper.py +3 -0
  16. datahub/metadata/_internal_schema_classes.py +202 -2
  17. datahub/metadata/com/linkedin/pegasus2avro/common/__init__.py +2 -0
  18. datahub/metadata/com/linkedin/pegasus2avro/settings/global/__init__.py +4 -0
  19. datahub/metadata/schema.avsc +98 -2
  20. datahub/metadata/schemas/GlobalSettingsInfo.avsc +72 -0
  21. datahub/metadata/schemas/InstitutionalMemory.avsc +22 -0
  22. datahub/metadata/schemas/LogicalParent.avsc +2 -1
  23. datahub/metadata/schemas/MLModelGroupKey.avsc +2 -1
  24. datahub/metadata/schemas/MetadataChangeEvent.avsc +22 -0
  25. datahub/sdk/dashboard.py +0 -2
  26. {acryl_datahub-1.2.0.10rc1.dist-info → acryl_datahub-1.2.0.10rc3.dist-info}/WHEEL +0 -0
  27. {acryl_datahub-1.2.0.10rc1.dist-info → acryl_datahub-1.2.0.10rc3.dist-info}/entry_points.txt +0 -0
  28. {acryl_datahub-1.2.0.10rc1.dist-info → acryl_datahub-1.2.0.10rc3.dist-info}/licenses/LICENSE +0 -0
  29. {acryl_datahub-1.2.0.10rc1.dist-info → acryl_datahub-1.2.0.10rc3.dist-info}/top_level.txt +0 -0
@@ -5356,6 +5356,7 @@ class InstitutionalMemoryMetadataClass(DictWrapper):
5356
5356
  description: str,
5357
5357
  createStamp: "AuditStampClass",
5358
5358
  updateStamp: Union[None, "AuditStampClass"]=None,
5359
+ settings: Union[None, "InstitutionalMemoryMetadataSettingsClass"]=None,
5359
5360
  ):
5360
5361
  super().__init__()
5361
5362
 
@@ -5363,12 +5364,14 @@ class InstitutionalMemoryMetadataClass(DictWrapper):
5363
5364
  self.description = description
5364
5365
  self.createStamp = createStamp
5365
5366
  self.updateStamp = updateStamp
5367
+ self.settings = settings
5366
5368
 
5367
5369
  def _restore_defaults(self) -> None:
5368
5370
  self.url = str()
5369
5371
  self.description = str()
5370
5372
  self.createStamp = AuditStampClass._construct_with_defaults()
5371
5373
  self.updateStamp = self.RECORD_SCHEMA.fields_dict["updateStamp"].default
5374
+ self.settings = self.RECORD_SCHEMA.fields_dict["settings"].default
5372
5375
 
5373
5376
 
5374
5377
  @property
@@ -5411,6 +5414,45 @@ class InstitutionalMemoryMetadataClass(DictWrapper):
5411
5414
  self._inner_dict['updateStamp'] = value
5412
5415
 
5413
5416
 
5417
+ @property
5418
+ def settings(self) -> Union[None, "InstitutionalMemoryMetadataSettingsClass"]:
5419
+ """Settings for this record"""
5420
+ return self._inner_dict.get('settings') # type: ignore
5421
+
5422
+ @settings.setter
5423
+ def settings(self, value: Union[None, "InstitutionalMemoryMetadataSettingsClass"]) -> None:
5424
+ self._inner_dict['settings'] = value
5425
+
5426
+
5427
+ class InstitutionalMemoryMetadataSettingsClass(DictWrapper):
5428
+ """Settings related to a record of InstitutionalMemoryMetadata"""
5429
+
5430
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.common.InstitutionalMemoryMetadataSettings")
5431
+ def __init__(self,
5432
+ showInAssetPreview: Optional[bool]=None,
5433
+ ):
5434
+ super().__init__()
5435
+
5436
+ if showInAssetPreview is None:
5437
+ # default: False
5438
+ self.showInAssetPreview = self.RECORD_SCHEMA.fields_dict["showInAssetPreview"].default
5439
+ else:
5440
+ self.showInAssetPreview = showInAssetPreview
5441
+
5442
+ def _restore_defaults(self) -> None:
5443
+ self.showInAssetPreview = self.RECORD_SCHEMA.fields_dict["showInAssetPreview"].default
5444
+
5445
+
5446
+ @property
5447
+ def showInAssetPreview(self) -> bool:
5448
+ """Show record in asset preview like on entity header and search previews"""
5449
+ return self._inner_dict.get('showInAssetPreview') # type: ignore
5450
+
5451
+ @showInAssetPreview.setter
5452
+ def showInAssetPreview(self, value: bool) -> None:
5453
+ self._inner_dict['showInAssetPreview'] = value
5454
+
5455
+
5414
5456
  class MLFeatureDataTypeClass(object):
5415
5457
  """MLFeature Data Type"""
5416
5458
 
@@ -15271,7 +15313,7 @@ class DataHubIngestionSourceSourceTypeClass(object):
15271
15313
 
15272
15314
 
15273
15315
  class LogicalParentClass(_Aspect):
15274
- # No docs available.
15316
+ """Relates a physical asset to a logical model."""
15275
15317
 
15276
15318
 
15277
15319
  ASPECT_NAME = 'logicalParent'
@@ -16689,7 +16731,7 @@ class MLModelGroupKeyClass(_Aspect):
16689
16731
 
16690
16732
 
16691
16733
  ASPECT_NAME = 'mlModelGroupKey'
16692
- ASPECT_INFO = {'keyForEntity': 'mlModelGroup', 'entityCategory': 'core', 'entityAspects': ['glossaryTerms', 'editableMlModelGroupProperties', 'domains', 'applications', 'mlModelGroupProperties', 'ownership', 'status', 'deprecation', 'browsePaths', 'globalTags', 'dataPlatformInstance', 'browsePathsV2', 'structuredProperties', 'forms', 'testResults', 'subTypes', 'container']}
16734
+ ASPECT_INFO = {'keyForEntity': 'mlModelGroup', 'entityCategory': 'core', 'entityAspects': ['glossaryTerms', 'editableMlModelGroupProperties', 'domains', 'applications', 'mlModelGroupProperties', 'ownership', 'status', 'deprecation', 'browsePaths', 'globalTags', 'dataPlatformInstance', 'browsePathsV2', 'structuredProperties', 'forms', 'testResults', 'subTypes', 'container', 'institutionalMemory']}
16693
16735
  RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.metadata.key.MLModelGroupKey")
16694
16736
 
16695
16737
  def __init__(self,
@@ -24921,6 +24963,7 @@ class GlobalSettingsInfoClass(_Aspect):
24921
24963
 
24922
24964
  def __init__(self,
24923
24965
  sso: Union[None, "SsoSettingsClass"]=None,
24966
+ oauth: Union[None, "OAuthSettingsClass"]=None,
24924
24967
  views: Union[None, "GlobalViewsSettingsClass"]=None,
24925
24968
  docPropagation: Optional[Union["DocPropagationFeatureSettingsClass", None]]=None,
24926
24969
  homePage: Union[None, "GlobalHomePageSettingsClass"]=None,
@@ -24929,6 +24972,7 @@ class GlobalSettingsInfoClass(_Aspect):
24929
24972
  super().__init__()
24930
24973
 
24931
24974
  self.sso = sso
24975
+ self.oauth = oauth
24932
24976
  self.views = views
24933
24977
  if docPropagation is None:
24934
24978
  # default: {'configVersion': None, 'config': None, 'enabled': True, 'columnPropagationEnabled': True}
@@ -24940,6 +24984,7 @@ class GlobalSettingsInfoClass(_Aspect):
24940
24984
 
24941
24985
  def _restore_defaults(self) -> None:
24942
24986
  self.sso = self.RECORD_SCHEMA.fields_dict["sso"].default
24987
+ self.oauth = self.RECORD_SCHEMA.fields_dict["oauth"].default
24943
24988
  self.views = self.RECORD_SCHEMA.fields_dict["views"].default
24944
24989
  self.docPropagation = _json_converter.from_json_object(self.RECORD_SCHEMA.fields_dict["docPropagation"].default, writers_schema=self.RECORD_SCHEMA.fields_dict["docPropagation"].type)
24945
24990
  self.homePage = self.RECORD_SCHEMA.fields_dict["homePage"].default
@@ -24956,6 +25001,16 @@ class GlobalSettingsInfoClass(_Aspect):
24956
25001
  self._inner_dict['sso'] = value
24957
25002
 
24958
25003
 
25004
+ @property
25005
+ def oauth(self) -> Union[None, "OAuthSettingsClass"]:
25006
+ """Settings related to the oauth authentication provider"""
25007
+ return self._inner_dict.get('oauth') # type: ignore
25008
+
25009
+ @oauth.setter
25010
+ def oauth(self, value: Union[None, "OAuthSettingsClass"]) -> None:
25011
+ self._inner_dict['oauth'] = value
25012
+
25013
+
24959
25014
  @property
24960
25015
  def views(self) -> Union[None, "GlobalViewsSettingsClass"]:
24961
25016
  """Settings related to the Views Feature"""
@@ -25021,6 +25076,145 @@ class GlobalViewsSettingsClass(DictWrapper):
25021
25076
  self._inner_dict['defaultView'] = value
25022
25077
 
25023
25078
 
25079
+ class OAuthProviderClass(DictWrapper):
25080
+ """An OAuth Provider. This provides information required to validate inbound
25081
+ requests with OAuth 2.0 bearer tokens."""
25082
+
25083
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.settings.global.OAuthProvider")
25084
+ def __init__(self,
25085
+ enabled: bool,
25086
+ name: str,
25087
+ issuer: str,
25088
+ audience: str,
25089
+ jwksUri: Union[None, str]=None,
25090
+ algorithm: Optional[str]=None,
25091
+ userIdClaim: Optional[str]=None,
25092
+ ):
25093
+ super().__init__()
25094
+
25095
+ self.enabled = enabled
25096
+ self.name = name
25097
+ self.jwksUri = jwksUri
25098
+ self.issuer = issuer
25099
+ self.audience = audience
25100
+ if algorithm is None:
25101
+ # default: 'RS256'
25102
+ self.algorithm = self.RECORD_SCHEMA.fields_dict["algorithm"].default
25103
+ else:
25104
+ self.algorithm = algorithm
25105
+ if userIdClaim is None:
25106
+ # default: 'sub'
25107
+ self.userIdClaim = self.RECORD_SCHEMA.fields_dict["userIdClaim"].default
25108
+ else:
25109
+ self.userIdClaim = userIdClaim
25110
+
25111
+ def _restore_defaults(self) -> None:
25112
+ self.enabled = bool()
25113
+ self.name = str()
25114
+ self.jwksUri = self.RECORD_SCHEMA.fields_dict["jwksUri"].default
25115
+ self.issuer = str()
25116
+ self.audience = str()
25117
+ self.algorithm = self.RECORD_SCHEMA.fields_dict["algorithm"].default
25118
+ self.userIdClaim = self.RECORD_SCHEMA.fields_dict["userIdClaim"].default
25119
+
25120
+
25121
+ @property
25122
+ def enabled(self) -> bool:
25123
+ """Whether this OAuth provider is enabled."""
25124
+ return self._inner_dict.get('enabled') # type: ignore
25125
+
25126
+ @enabled.setter
25127
+ def enabled(self, value: bool) -> None:
25128
+ self._inner_dict['enabled'] = value
25129
+
25130
+
25131
+ @property
25132
+ def name(self) -> str:
25133
+ """The name of this OAuth provider. This is used for display purposes only."""
25134
+ return self._inner_dict.get('name') # type: ignore
25135
+
25136
+ @name.setter
25137
+ def name(self, value: str) -> None:
25138
+ self._inner_dict['name'] = value
25139
+
25140
+
25141
+ @property
25142
+ def jwksUri(self) -> Union[None, str]:
25143
+ """The URI of the JSON Web Key Set (JWKS) endpoint for this OAuth provider."""
25144
+ return self._inner_dict.get('jwksUri') # type: ignore
25145
+
25146
+ @jwksUri.setter
25147
+ def jwksUri(self, value: Union[None, str]) -> None:
25148
+ self._inner_dict['jwksUri'] = value
25149
+
25150
+
25151
+ @property
25152
+ def issuer(self) -> str:
25153
+ """The expected issuer (iss) claim in the JWTs issued by this OAuth provider."""
25154
+ return self._inner_dict.get('issuer') # type: ignore
25155
+
25156
+ @issuer.setter
25157
+ def issuer(self, value: str) -> None:
25158
+ self._inner_dict['issuer'] = value
25159
+
25160
+
25161
+ @property
25162
+ def audience(self) -> str:
25163
+ """The expected audience (aud) claim in the JWTs issued by this OAuth provider."""
25164
+ return self._inner_dict.get('audience') # type: ignore
25165
+
25166
+ @audience.setter
25167
+ def audience(self, value: str) -> None:
25168
+ self._inner_dict['audience'] = value
25169
+
25170
+
25171
+ @property
25172
+ def algorithm(self) -> str:
25173
+ """The JWT signing algorithm required for this provider.
25174
+ Prevents algorithm confusion attacks. Common values: RS256, RS384, RS512, PS256, ES256"""
25175
+ return self._inner_dict.get('algorithm') # type: ignore
25176
+
25177
+ @algorithm.setter
25178
+ def algorithm(self, value: str) -> None:
25179
+ self._inner_dict['algorithm'] = value
25180
+
25181
+
25182
+ @property
25183
+ def userIdClaim(self) -> str:
25184
+ """The JWT claim to use as the user identifier for this provider.
25185
+ Different providers use different claims (sub, email, preferred_username, etc.)"""
25186
+ return self._inner_dict.get('userIdClaim') # type: ignore
25187
+
25188
+ @userIdClaim.setter
25189
+ def userIdClaim(self, value: str) -> None:
25190
+ self._inner_dict['userIdClaim'] = value
25191
+
25192
+
25193
+ class OAuthSettingsClass(DictWrapper):
25194
+ """Trust oauth providers to use for authentication."""
25195
+
25196
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.settings.global.OAuthSettings")
25197
+ def __init__(self,
25198
+ providers: List["OAuthProviderClass"],
25199
+ ):
25200
+ super().__init__()
25201
+
25202
+ self.providers = providers
25203
+
25204
+ def _restore_defaults(self) -> None:
25205
+ self.providers = list()
25206
+
25207
+
25208
+ @property
25209
+ def providers(self) -> List["OAuthProviderClass"]:
25210
+ """Trusted OAuth Providers"""
25211
+ return self._inner_dict.get('providers') # type: ignore
25212
+
25213
+ @providers.setter
25214
+ def providers(self, value: List["OAuthProviderClass"]) -> None:
25215
+ self._inner_dict['providers'] = value
25216
+
25217
+
25024
25218
  class OidcSettingsClass(DictWrapper):
25025
25219
  """Settings for OIDC SSO integration."""
25026
25220
 
@@ -27268,6 +27462,7 @@ __SCHEMA_TYPES = {
27268
27462
  'com.linkedin.pegasus2avro.common.InputFields': InputFieldsClass,
27269
27463
  'com.linkedin.pegasus2avro.common.InstitutionalMemory': InstitutionalMemoryClass,
27270
27464
  'com.linkedin.pegasus2avro.common.InstitutionalMemoryMetadata': InstitutionalMemoryMetadataClass,
27465
+ 'com.linkedin.pegasus2avro.common.InstitutionalMemoryMetadataSettings': InstitutionalMemoryMetadataSettingsClass,
27271
27466
  'com.linkedin.pegasus2avro.common.MLFeatureDataType': MLFeatureDataTypeClass,
27272
27467
  'com.linkedin.pegasus2avro.common.Media': MediaClass,
27273
27468
  'com.linkedin.pegasus2avro.common.MediaType': MediaTypeClass,
@@ -27636,6 +27831,8 @@ __SCHEMA_TYPES = {
27636
27831
  'com.linkedin.pegasus2avro.settings.global.GlobalHomePageSettings': GlobalHomePageSettingsClass,
27637
27832
  'com.linkedin.pegasus2avro.settings.global.GlobalSettingsInfo': GlobalSettingsInfoClass,
27638
27833
  'com.linkedin.pegasus2avro.settings.global.GlobalViewsSettings': GlobalViewsSettingsClass,
27834
+ 'com.linkedin.pegasus2avro.settings.global.OAuthProvider': OAuthProviderClass,
27835
+ 'com.linkedin.pegasus2avro.settings.global.OAuthSettings': OAuthSettingsClass,
27639
27836
  'com.linkedin.pegasus2avro.settings.global.OidcSettings': OidcSettingsClass,
27640
27837
  'com.linkedin.pegasus2avro.settings.global.SsoSettings': SsoSettingsClass,
27641
27838
  'com.linkedin.pegasus2avro.step.DataHubStepStateProperties': DataHubStepStatePropertiesClass,
@@ -27785,6 +27982,7 @@ __SCHEMA_TYPES = {
27785
27982
  'InputFields': InputFieldsClass,
27786
27983
  'InstitutionalMemory': InstitutionalMemoryClass,
27787
27984
  'InstitutionalMemoryMetadata': InstitutionalMemoryMetadataClass,
27985
+ 'InstitutionalMemoryMetadataSettings': InstitutionalMemoryMetadataSettingsClass,
27788
27986
  'MLFeatureDataType': MLFeatureDataTypeClass,
27789
27987
  'Media': MediaClass,
27790
27988
  'MediaType': MediaTypeClass,
@@ -28153,6 +28351,8 @@ __SCHEMA_TYPES = {
28153
28351
  'GlobalHomePageSettings': GlobalHomePageSettingsClass,
28154
28352
  'GlobalSettingsInfo': GlobalSettingsInfoClass,
28155
28353
  'GlobalViewsSettings': GlobalViewsSettingsClass,
28354
+ 'OAuthProvider': OAuthProviderClass,
28355
+ 'OAuthSettings': OAuthSettingsClass,
28156
28356
  'OidcSettings': OidcSettingsClass,
28157
28357
  'SsoSettings': SsoSettingsClass,
28158
28358
  'DataHubStepStateProperties': DataHubStepStatePropertiesClass,
@@ -45,6 +45,7 @@ from .....schema_classes import InputFieldClass
45
45
  from .....schema_classes import InputFieldsClass
46
46
  from .....schema_classes import InstitutionalMemoryClass
47
47
  from .....schema_classes import InstitutionalMemoryMetadataClass
48
+ from .....schema_classes import InstitutionalMemoryMetadataSettingsClass
48
49
  from .....schema_classes import MLFeatureDataTypeClass
49
50
  from .....schema_classes import MediaClass
50
51
  from .....schema_classes import MediaTypeClass
@@ -111,6 +112,7 @@ InputField = InputFieldClass
111
112
  InputFields = InputFieldsClass
112
113
  InstitutionalMemory = InstitutionalMemoryClass
113
114
  InstitutionalMemoryMetadata = InstitutionalMemoryMetadataClass
115
+ InstitutionalMemoryMetadataSettings = InstitutionalMemoryMetadataSettingsClass
114
116
  MLFeatureDataType = MLFeatureDataTypeClass
115
117
  Media = MediaClass
116
118
  MediaType = MediaTypeClass
@@ -12,6 +12,8 @@ from ......schema_classes import DocPropagationFeatureSettingsClass
12
12
  from ......schema_classes import GlobalHomePageSettingsClass
13
13
  from ......schema_classes import GlobalSettingsInfoClass
14
14
  from ......schema_classes import GlobalViewsSettingsClass
15
+ from ......schema_classes import OAuthProviderClass
16
+ from ......schema_classes import OAuthSettingsClass
15
17
  from ......schema_classes import OidcSettingsClass
16
18
  from ......schema_classes import SsoSettingsClass
17
19
 
@@ -21,6 +23,8 @@ DocPropagationFeatureSettings = DocPropagationFeatureSettingsClass
21
23
  GlobalHomePageSettings = GlobalHomePageSettingsClass
22
24
  GlobalSettingsInfo = GlobalSettingsInfoClass
23
25
  GlobalViewsSettings = GlobalViewsSettingsClass
26
+ OAuthProvider = OAuthProviderClass
27
+ OAuthSettings = OAuthSettingsClass
24
28
  OidcSettings = OidcSettingsClass
25
29
  SsoSettings = SsoSettingsClass
26
30
 
@@ -1074,6 +1074,28 @@
1074
1074
  "name": "updateStamp",
1075
1075
  "default": null,
1076
1076
  "doc": "Audit stamp associated with updation of this record"
1077
+ },
1078
+ {
1079
+ "type": [
1080
+ "null",
1081
+ {
1082
+ "type": "record",
1083
+ "name": "InstitutionalMemoryMetadataSettings",
1084
+ "namespace": "com.linkedin.pegasus2avro.common",
1085
+ "fields": [
1086
+ {
1087
+ "type": "boolean",
1088
+ "name": "showInAssetPreview",
1089
+ "default": false,
1090
+ "doc": "Show record in asset preview like on entity header and search previews"
1091
+ }
1092
+ ],
1093
+ "doc": "Settings related to a record of InstitutionalMemoryMetadata"
1094
+ }
1095
+ ],
1096
+ "name": "settings",
1097
+ "default": null,
1098
+ "doc": "Settings for this record"
1077
1099
  }
1078
1100
  ],
1079
1101
  "doc": "Metadata corresponding to a record of institutional memory."
@@ -4280,7 +4302,8 @@
4280
4302
  "forms",
4281
4303
  "testResults",
4282
4304
  "subTypes",
4283
- "container"
4305
+ "container",
4306
+ "institutionalMemory"
4284
4307
  ]
4285
4308
  },
4286
4309
  "name": "MLModelGroupKey",
@@ -10607,7 +10630,8 @@
10607
10630
  "name": "parent",
10608
10631
  "default": null
10609
10632
  }
10610
- ]
10633
+ ],
10634
+ "doc": "Relates a physical asset to a logical model."
10611
10635
  },
10612
10636
  {
10613
10637
  "type": "record",
@@ -11887,6 +11911,78 @@
11887
11911
  "default": null,
11888
11912
  "doc": "SSO integrations between DataHub and identity providers"
11889
11913
  },
11914
+ {
11915
+ "type": [
11916
+ "null",
11917
+ {
11918
+ "type": "record",
11919
+ "name": "OAuthSettings",
11920
+ "namespace": "com.linkedin.pegasus2avro.settings.global",
11921
+ "fields": [
11922
+ {
11923
+ "type": {
11924
+ "type": "array",
11925
+ "items": {
11926
+ "type": "record",
11927
+ "name": "OAuthProvider",
11928
+ "namespace": "com.linkedin.pegasus2avro.settings.global",
11929
+ "fields": [
11930
+ {
11931
+ "type": "boolean",
11932
+ "name": "enabled",
11933
+ "doc": "Whether this OAuth provider is enabled."
11934
+ },
11935
+ {
11936
+ "type": "string",
11937
+ "name": "name",
11938
+ "doc": "The name of this OAuth provider. This is used for display purposes only."
11939
+ },
11940
+ {
11941
+ "type": [
11942
+ "null",
11943
+ "string"
11944
+ ],
11945
+ "name": "jwksUri",
11946
+ "default": null,
11947
+ "doc": "The URI of the JSON Web Key Set (JWKS) endpoint for this OAuth provider."
11948
+ },
11949
+ {
11950
+ "type": "string",
11951
+ "name": "issuer",
11952
+ "doc": "The expected issuer (iss) claim in the JWTs issued by this OAuth provider."
11953
+ },
11954
+ {
11955
+ "type": "string",
11956
+ "name": "audience",
11957
+ "doc": "The expected audience (aud) claim in the JWTs issued by this OAuth provider."
11958
+ },
11959
+ {
11960
+ "type": "string",
11961
+ "name": "algorithm",
11962
+ "default": "RS256",
11963
+ "doc": "The JWT signing algorithm required for this provider.\nPrevents algorithm confusion attacks. Common values: RS256, RS384, RS512, PS256, ES256"
11964
+ },
11965
+ {
11966
+ "type": "string",
11967
+ "name": "userIdClaim",
11968
+ "default": "sub",
11969
+ "doc": "The JWT claim to use as the user identifier for this provider.\nDifferent providers use different claims (sub, email, preferred_username, etc.)"
11970
+ }
11971
+ ],
11972
+ "doc": "An OAuth Provider. This provides information required to validate inbound\nrequests with OAuth 2.0 bearer tokens."
11973
+ }
11974
+ },
11975
+ "name": "providers",
11976
+ "doc": "Trusted OAuth Providers"
11977
+ }
11978
+ ],
11979
+ "doc": "Trust oauth providers to use for authentication."
11980
+ }
11981
+ ],
11982
+ "name": "oauth",
11983
+ "default": null,
11984
+ "doc": "Settings related to the oauth authentication provider"
11985
+ },
11890
11986
  {
11891
11987
  "type": [
11892
11988
  "null",
@@ -198,6 +198,78 @@
198
198
  "default": null,
199
199
  "doc": "SSO integrations between DataHub and identity providers"
200
200
  },
201
+ {
202
+ "type": [
203
+ "null",
204
+ {
205
+ "type": "record",
206
+ "name": "OAuthSettings",
207
+ "namespace": "com.linkedin.pegasus2avro.settings.global",
208
+ "fields": [
209
+ {
210
+ "type": {
211
+ "type": "array",
212
+ "items": {
213
+ "type": "record",
214
+ "name": "OAuthProvider",
215
+ "namespace": "com.linkedin.pegasus2avro.settings.global",
216
+ "fields": [
217
+ {
218
+ "type": "boolean",
219
+ "name": "enabled",
220
+ "doc": "Whether this OAuth provider is enabled."
221
+ },
222
+ {
223
+ "type": "string",
224
+ "name": "name",
225
+ "doc": "The name of this OAuth provider. This is used for display purposes only."
226
+ },
227
+ {
228
+ "type": [
229
+ "null",
230
+ "string"
231
+ ],
232
+ "name": "jwksUri",
233
+ "default": null,
234
+ "doc": "The URI of the JSON Web Key Set (JWKS) endpoint for this OAuth provider."
235
+ },
236
+ {
237
+ "type": "string",
238
+ "name": "issuer",
239
+ "doc": "The expected issuer (iss) claim in the JWTs issued by this OAuth provider."
240
+ },
241
+ {
242
+ "type": "string",
243
+ "name": "audience",
244
+ "doc": "The expected audience (aud) claim in the JWTs issued by this OAuth provider."
245
+ },
246
+ {
247
+ "type": "string",
248
+ "name": "algorithm",
249
+ "default": "RS256",
250
+ "doc": "The JWT signing algorithm required for this provider.\nPrevents algorithm confusion attacks. Common values: RS256, RS384, RS512, PS256, ES256"
251
+ },
252
+ {
253
+ "type": "string",
254
+ "name": "userIdClaim",
255
+ "default": "sub",
256
+ "doc": "The JWT claim to use as the user identifier for this provider.\nDifferent providers use different claims (sub, email, preferred_username, etc.)"
257
+ }
258
+ ],
259
+ "doc": "An OAuth Provider. This provides information required to validate inbound\nrequests with OAuth 2.0 bearer tokens."
260
+ }
261
+ },
262
+ "name": "providers",
263
+ "doc": "Trusted OAuth Providers"
264
+ }
265
+ ],
266
+ "doc": "Trust oauth providers to use for authentication."
267
+ }
268
+ ],
269
+ "name": "oauth",
270
+ "default": null,
271
+ "doc": "Settings related to the oauth authentication provider"
272
+ },
201
273
  {
202
274
  "type": [
203
275
  "null",
@@ -84,6 +84,28 @@
84
84
  "name": "updateStamp",
85
85
  "default": null,
86
86
  "doc": "Audit stamp associated with updation of this record"
87
+ },
88
+ {
89
+ "type": [
90
+ "null",
91
+ {
92
+ "type": "record",
93
+ "name": "InstitutionalMemoryMetadataSettings",
94
+ "namespace": "com.linkedin.pegasus2avro.common",
95
+ "fields": [
96
+ {
97
+ "type": "boolean",
98
+ "name": "showInAssetPreview",
99
+ "default": false,
100
+ "doc": "Show record in asset preview like on entity header and search previews"
101
+ }
102
+ ],
103
+ "doc": "Settings related to a record of InstitutionalMemoryMetadata"
104
+ }
105
+ ],
106
+ "name": "settings",
107
+ "default": null,
108
+ "doc": "Settings for this record"
87
109
  }
88
110
  ],
89
111
  "doc": "Metadata corresponding to a record of institutional memory."
@@ -140,5 +140,6 @@
140
140
  "name": "parent",
141
141
  "default": null
142
142
  }
143
- ]
143
+ ],
144
+ "doc": "Relates a physical asset to a logical model."
144
145
  }
@@ -21,7 +21,8 @@
21
21
  "forms",
22
22
  "testResults",
23
23
  "subTypes",
24
- "container"
24
+ "container",
25
+ "institutionalMemory"
25
26
  ]
26
27
  },
27
28
  "name": "MLModelGroupKey",
@@ -1143,6 +1143,28 @@
1143
1143
  "name": "updateStamp",
1144
1144
  "default": null,
1145
1145
  "doc": "Audit stamp associated with updation of this record"
1146
+ },
1147
+ {
1148
+ "type": [
1149
+ "null",
1150
+ {
1151
+ "type": "record",
1152
+ "name": "InstitutionalMemoryMetadataSettings",
1153
+ "namespace": "com.linkedin.pegasus2avro.common",
1154
+ "fields": [
1155
+ {
1156
+ "type": "boolean",
1157
+ "name": "showInAssetPreview",
1158
+ "default": false,
1159
+ "doc": "Show record in asset preview like on entity header and search previews"
1160
+ }
1161
+ ],
1162
+ "doc": "Settings related to a record of InstitutionalMemoryMetadata"
1163
+ }
1164
+ ],
1165
+ "name": "settings",
1166
+ "default": null,
1167
+ "doc": "Settings for this record"
1146
1168
  }
1147
1169
  ],
1148
1170
  "doc": "Metadata corresponding to a record of institutional memory."
datahub/sdk/dashboard.py CHANGED
@@ -171,8 +171,6 @@ class Dashboard(
171
171
  )
172
172
  ),
173
173
  customProperties={},
174
- chartEdges=[],
175
- datasetEdges=[],
176
174
  dashboards=[],
177
175
  )
178
176
  )