acryl-datahub 1.1.0.5rc3__py3-none-any.whl → 1.1.0.5rc5__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 (52) hide show
  1. {acryl_datahub-1.1.0.5rc3.dist-info → acryl_datahub-1.1.0.5rc5.dist-info}/METADATA +2575 -2575
  2. {acryl_datahub-1.1.0.5rc3.dist-info → acryl_datahub-1.1.0.5rc5.dist-info}/RECORD +52 -45
  3. datahub/_version.py +1 -1
  4. datahub/cli/check_cli.py +21 -4
  5. datahub/ingestion/api/decorators.py +14 -3
  6. datahub/ingestion/api/report.py +123 -2
  7. datahub/ingestion/api/source.py +45 -44
  8. datahub/ingestion/autogenerated/lineage_helper.py +193 -0
  9. datahub/ingestion/graph/client.py +71 -28
  10. datahub/ingestion/run/pipeline.py +6 -0
  11. datahub/ingestion/source/aws/glue.py +1 -1
  12. datahub/ingestion/source/bigquery_v2/bigquery_queries.py +1 -0
  13. datahub/ingestion/source/bigquery_v2/profiler.py +4 -2
  14. datahub/ingestion/source/bigquery_v2/queries.py +4 -4
  15. datahub/ingestion/source/common/subtypes.py +43 -0
  16. datahub/ingestion/source/dbt/dbt_common.py +1 -1
  17. datahub/ingestion/source/fivetran/fivetran.py +34 -26
  18. datahub/ingestion/source/hex/api.py +26 -1
  19. datahub/ingestion/source/kafka_connect/sink_connectors.py +156 -47
  20. datahub/ingestion/source/mock_data/datahub_mock_data.py +11 -15
  21. datahub/ingestion/source/salesforce.py +6 -3
  22. datahub/ingestion/source/slack/slack.py +2 -1
  23. datahub/ingestion/source/snowflake/snowflake_queries.py +1 -0
  24. datahub/ingestion/source/sql/athena.py +15 -3
  25. datahub/ingestion/source/sql/mssql/source.py +9 -0
  26. datahub/ingestion/source/sql/sql_common.py +3 -0
  27. datahub/ingestion/source/sql/sql_generic_profiler.py +2 -1
  28. datahub/ingestion/source/sql/teradata.py +4 -1
  29. datahub/ingestion/source/sql/vertica.py +9 -1
  30. datahub/ingestion/source/tableau/tableau.py +6 -1
  31. datahub/ingestion/source/unity/source.py +36 -20
  32. datahub/ingestion/transformer/add_dataset_ownership.py +18 -2
  33. datahub/metadata/_internal_schema_classes.py +601 -0
  34. datahub/metadata/_urns/urn_defs.py +112 -0
  35. datahub/metadata/com/linkedin/pegasus2avro/identity/__init__.py +2 -0
  36. datahub/metadata/com/linkedin/pegasus2avro/metadata/key/__init__.py +4 -0
  37. datahub/metadata/com/linkedin/pegasus2avro/module/__init__.py +27 -0
  38. datahub/metadata/com/linkedin/pegasus2avro/settings/global/__init__.py +2 -0
  39. datahub/metadata/com/linkedin/pegasus2avro/template/__init__.py +25 -0
  40. datahub/metadata/schema.avsc +383 -0
  41. datahub/metadata/schemas/CorpUserSettings.avsc +25 -0
  42. datahub/metadata/schemas/DataHubPageModuleKey.avsc +21 -0
  43. datahub/metadata/schemas/DataHubPageModuleProperties.avsc +202 -0
  44. datahub/metadata/schemas/DataHubPageTemplateKey.avsc +21 -0
  45. datahub/metadata/schemas/DataHubPageTemplateProperties.avsc +175 -0
  46. datahub/metadata/schemas/GlobalSettingsInfo.avsc +25 -0
  47. datahub/sdk/datajob.py +39 -15
  48. datahub/specific/dataproduct.py +4 -0
  49. {acryl_datahub-1.1.0.5rc3.dist-info → acryl_datahub-1.1.0.5rc5.dist-info}/WHEEL +0 -0
  50. {acryl_datahub-1.1.0.5rc3.dist-info → acryl_datahub-1.1.0.5rc5.dist-info}/entry_points.txt +0 -0
  51. {acryl_datahub-1.1.0.5rc3.dist-info → acryl_datahub-1.1.0.5rc5.dist-info}/licenses/LICENSE +0 -0
  52. {acryl_datahub-1.1.0.5rc3.dist-info → acryl_datahub-1.1.0.5rc5.dist-info}/top_level.txt +0 -0
@@ -14122,6 +14122,31 @@ class CorpUserEditableInfoClass(_Aspect):
14122
14122
  self._inner_dict['informationSources'] = value
14123
14123
 
14124
14124
 
14125
+ class CorpUserHomePageSettingsClass(DictWrapper):
14126
+ """Settings related to the home page for a user"""
14127
+
14128
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.identity.CorpUserHomePageSettings")
14129
+ def __init__(self,
14130
+ pageTemplate: str,
14131
+ ):
14132
+ super().__init__()
14133
+
14134
+ self.pageTemplate = pageTemplate
14135
+
14136
+ def _restore_defaults(self) -> None:
14137
+ self.pageTemplate = str()
14138
+
14139
+
14140
+ @property
14141
+ def pageTemplate(self) -> str:
14142
+ """The page template that will be rendered in the UI by default for this user"""
14143
+ return self._inner_dict.get('pageTemplate') # type: ignore
14144
+
14145
+ @pageTemplate.setter
14146
+ def pageTemplate(self, value: str) -> None:
14147
+ self._inner_dict['pageTemplate'] = value
14148
+
14149
+
14125
14150
  class CorpUserInfoClass(_Aspect):
14126
14151
  """Linkedin corp user information"""
14127
14152
 
@@ -14327,17 +14352,20 @@ class CorpUserSettingsClass(_Aspect):
14327
14352
  appearance: "CorpUserAppearanceSettingsClass",
14328
14353
  views: Union[None, "CorpUserViewsSettingsClass"]=None,
14329
14354
  notificationSettings: Union[None, "NotificationSettingsClass"]=None,
14355
+ homePage: Union[None, "CorpUserHomePageSettingsClass"]=None,
14330
14356
  ):
14331
14357
  super().__init__()
14332
14358
 
14333
14359
  self.appearance = appearance
14334
14360
  self.views = views
14335
14361
  self.notificationSettings = notificationSettings
14362
+ self.homePage = homePage
14336
14363
 
14337
14364
  def _restore_defaults(self) -> None:
14338
14365
  self.appearance = CorpUserAppearanceSettingsClass._construct_with_defaults()
14339
14366
  self.views = self.RECORD_SCHEMA.fields_dict["views"].default
14340
14367
  self.notificationSettings = self.RECORD_SCHEMA.fields_dict["notificationSettings"].default
14368
+ self.homePage = self.RECORD_SCHEMA.fields_dict["homePage"].default
14341
14369
 
14342
14370
 
14343
14371
  @property
@@ -14370,6 +14398,16 @@ class CorpUserSettingsClass(_Aspect):
14370
14398
  self._inner_dict['notificationSettings'] = value
14371
14399
 
14372
14400
 
14401
+ @property
14402
+ def homePage(self) -> Union[None, "CorpUserHomePageSettingsClass"]:
14403
+ """Settings related to the home page for a user"""
14404
+ return self._inner_dict.get('homePage') # type: ignore
14405
+
14406
+ @homePage.setter
14407
+ def homePage(self, value: Union[None, "CorpUserHomePageSettingsClass"]) -> None:
14408
+ self._inner_dict['homePage'] = value
14409
+
14410
+
14373
14411
  class CorpUserStatusClass(_Aspect):
14374
14412
  """The status of the user, e.g. provisioned, active, suspended, etc."""
14375
14413
 
@@ -15626,6 +15664,64 @@ class DataHubOpenAPISchemaKeyClass(_Aspect):
15626
15664
  self._inner_dict['id'] = value
15627
15665
 
15628
15666
 
15667
+ class DataHubPageModuleKeyClass(_Aspect):
15668
+ """Key for a DataHubPageModule"""
15669
+
15670
+
15671
+ ASPECT_NAME = 'dataHubPageModuleKey'
15672
+ ASPECT_INFO = {'keyForEntity': 'dataHubPageModule', 'entityCategory': 'core', 'entityAspects': ['dataHubPageModuleProperties']}
15673
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.metadata.key.DataHubPageModuleKey")
15674
+
15675
+ def __init__(self,
15676
+ id: str,
15677
+ ):
15678
+ super().__init__()
15679
+
15680
+ self.id = id
15681
+
15682
+ def _restore_defaults(self) -> None:
15683
+ self.id = str()
15684
+
15685
+
15686
+ @property
15687
+ def id(self) -> str:
15688
+ """Unique id for the module."""
15689
+ return self._inner_dict.get('id') # type: ignore
15690
+
15691
+ @id.setter
15692
+ def id(self, value: str) -> None:
15693
+ self._inner_dict['id'] = value
15694
+
15695
+
15696
+ class DataHubPageTemplateKeyClass(_Aspect):
15697
+ """Key for a DataHubPageTemplate"""
15698
+
15699
+
15700
+ ASPECT_NAME = 'dataHubPageTemplateKey'
15701
+ ASPECT_INFO = {'keyForEntity': 'dataHubPageTemplate', 'entityCategory': 'core', 'entityAspects': ['dataHubPageTemplateProperties']}
15702
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.metadata.key.DataHubPageTemplateKey")
15703
+
15704
+ def __init__(self,
15705
+ id: str,
15706
+ ):
15707
+ super().__init__()
15708
+
15709
+ self.id = id
15710
+
15711
+ def _restore_defaults(self) -> None:
15712
+ self.id = str()
15713
+
15714
+
15715
+ @property
15716
+ def id(self) -> str:
15717
+ """Unique id for the template."""
15718
+ return self._inner_dict.get('id') # type: ignore
15719
+
15720
+ @id.setter
15721
+ def id(self, value: str) -> None:
15722
+ self._inner_dict['id'] = value
15723
+
15724
+
15629
15725
  class DataHubPersonaKeyClass(_Aspect):
15630
15726
  """Key for a persona type"""
15631
15727
 
@@ -19793,6 +19889,250 @@ class TrainingDataClass(_Aspect):
19793
19889
  self._inner_dict['trainingData'] = value
19794
19890
 
19795
19891
 
19892
+ class DataHubPageModuleParamsClass(DictWrapper):
19893
+ """The specific parameters stored for a module"""
19894
+
19895
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.module.DataHubPageModuleParams")
19896
+ def __init__(self,
19897
+ linkParams: Union[None, "LinkModuleParamsClass"]=None,
19898
+ richTextParams: Union[None, "RichTextModuleParamsClass"]=None,
19899
+ ):
19900
+ super().__init__()
19901
+
19902
+ self.linkParams = linkParams
19903
+ self.richTextParams = richTextParams
19904
+
19905
+ def _restore_defaults(self) -> None:
19906
+ self.linkParams = self.RECORD_SCHEMA.fields_dict["linkParams"].default
19907
+ self.richTextParams = self.RECORD_SCHEMA.fields_dict["richTextParams"].default
19908
+
19909
+
19910
+ @property
19911
+ def linkParams(self) -> Union[None, "LinkModuleParamsClass"]:
19912
+ """The params required if the module is type LINK"""
19913
+ return self._inner_dict.get('linkParams') # type: ignore
19914
+
19915
+ @linkParams.setter
19916
+ def linkParams(self, value: Union[None, "LinkModuleParamsClass"]) -> None:
19917
+ self._inner_dict['linkParams'] = value
19918
+
19919
+
19920
+ @property
19921
+ def richTextParams(self) -> Union[None, "RichTextModuleParamsClass"]:
19922
+ """The params required if the module is type RICH_TEXT"""
19923
+ return self._inner_dict.get('richTextParams') # type: ignore
19924
+
19925
+ @richTextParams.setter
19926
+ def richTextParams(self, value: Union[None, "RichTextModuleParamsClass"]) -> None:
19927
+ self._inner_dict['richTextParams'] = value
19928
+
19929
+
19930
+ class DataHubPageModulePropertiesClass(_Aspect):
19931
+ """The main properties of a DataHub page module"""
19932
+
19933
+
19934
+ ASPECT_NAME = 'dataHubPageModuleProperties'
19935
+ ASPECT_INFO = {}
19936
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.module.DataHubPageModuleProperties")
19937
+
19938
+ def __init__(self,
19939
+ name: str,
19940
+ type: Union[str, "DataHubPageModuleTypeClass"],
19941
+ visibility: "DataHubPageModuleVisibilityClass",
19942
+ params: "DataHubPageModuleParamsClass",
19943
+ created: "AuditStampClass",
19944
+ lastModified: "AuditStampClass",
19945
+ ):
19946
+ super().__init__()
19947
+
19948
+ self.name = name
19949
+ self.type = type
19950
+ self.visibility = visibility
19951
+ self.params = params
19952
+ self.created = created
19953
+ self.lastModified = lastModified
19954
+
19955
+ def _restore_defaults(self) -> None:
19956
+ self.name = str()
19957
+ self.type = DataHubPageModuleTypeClass.LINK
19958
+ self.visibility = DataHubPageModuleVisibilityClass._construct_with_defaults()
19959
+ self.params = DataHubPageModuleParamsClass._construct_with_defaults()
19960
+ self.created = AuditStampClass._construct_with_defaults()
19961
+ self.lastModified = AuditStampClass._construct_with_defaults()
19962
+
19963
+
19964
+ @property
19965
+ def name(self) -> str:
19966
+ """The display name of this module"""
19967
+ return self._inner_dict.get('name') # type: ignore
19968
+
19969
+ @name.setter
19970
+ def name(self, value: str) -> None:
19971
+ self._inner_dict['name'] = value
19972
+
19973
+
19974
+ @property
19975
+ def type(self) -> Union[str, "DataHubPageModuleTypeClass"]:
19976
+ """The type of this module - the purpose it serves"""
19977
+ return self._inner_dict.get('type') # type: ignore
19978
+
19979
+ @type.setter
19980
+ def type(self, value: Union[str, "DataHubPageModuleTypeClass"]) -> None:
19981
+ self._inner_dict['type'] = value
19982
+
19983
+
19984
+ @property
19985
+ def visibility(self) -> "DataHubPageModuleVisibilityClass":
19986
+ """Info about the visibility of this module"""
19987
+ return self._inner_dict.get('visibility') # type: ignore
19988
+
19989
+ @visibility.setter
19990
+ def visibility(self, value: "DataHubPageModuleVisibilityClass") -> None:
19991
+ self._inner_dict['visibility'] = value
19992
+
19993
+
19994
+ @property
19995
+ def params(self) -> "DataHubPageModuleParamsClass":
19996
+ """The specific parameters stored for this module"""
19997
+ return self._inner_dict.get('params') # type: ignore
19998
+
19999
+ @params.setter
20000
+ def params(self, value: "DataHubPageModuleParamsClass") -> None:
20001
+ self._inner_dict['params'] = value
20002
+
20003
+
20004
+ @property
20005
+ def created(self) -> "AuditStampClass":
20006
+ """Audit stamp for when and by whom this template was created"""
20007
+ return self._inner_dict.get('created') # type: ignore
20008
+
20009
+ @created.setter
20010
+ def created(self, value: "AuditStampClass") -> None:
20011
+ self._inner_dict['created'] = value
20012
+
20013
+
20014
+ @property
20015
+ def lastModified(self) -> "AuditStampClass":
20016
+ """Audit stamp for when and by whom this template was last updated"""
20017
+ return self._inner_dict.get('lastModified') # type: ignore
20018
+
20019
+ @lastModified.setter
20020
+ def lastModified(self, value: "AuditStampClass") -> None:
20021
+ self._inner_dict['lastModified'] = value
20022
+
20023
+
20024
+ class DataHubPageModuleTypeClass(object):
20025
+ """Enum containing the types of page modules that there are"""
20026
+
20027
+ LINK = "LINK"
20028
+ """Link type module"""
20029
+
20030
+ RICH_TEXT = "RICH_TEXT"
20031
+ """Module containing rich text to be rendered"""
20032
+
20033
+ ASSET_COLLECTION = "ASSET_COLLECTION"
20034
+ """A module with a collection of assets"""
20035
+
20036
+ HIERARCHY = "HIERARCHY"
20037
+ """A module displaying a hierarchy to navigate"""
20038
+
20039
+ OWNED_ASSETS = "OWNED_ASSETS"
20040
+ """Module displaying assets owned by a user"""
20041
+
20042
+ SUBSCRIBED_ASSETS = "SUBSCRIBED_ASSETS"
20043
+ """Module displaying assets subscribed to by a given user"""
20044
+
20045
+ DOMAINS = "DOMAINS"
20046
+ """Module displaying the top domains"""
20047
+
20048
+
20049
+
20050
+ class DataHubPageModuleVisibilityClass(DictWrapper):
20051
+ """Info about the visibility of this module"""
20052
+
20053
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.module.DataHubPageModuleVisibility")
20054
+ def __init__(self,
20055
+ scope: Union[str, "PageModuleScopeClass"],
20056
+ ):
20057
+ super().__init__()
20058
+
20059
+ self.scope = scope
20060
+
20061
+ def _restore_defaults(self) -> None:
20062
+ self.scope = PageModuleScopeClass.PERSONAL
20063
+
20064
+
20065
+ @property
20066
+ def scope(self) -> Union[str, "PageModuleScopeClass"]:
20067
+ """Audit stamp for when and by whom this module was created"""
20068
+ return self._inner_dict.get('scope') # type: ignore
20069
+
20070
+ @scope.setter
20071
+ def scope(self, value: Union[str, "PageModuleScopeClass"]) -> None:
20072
+ self._inner_dict['scope'] = value
20073
+
20074
+
20075
+ class LinkModuleParamsClass(DictWrapper):
20076
+ # No docs available.
20077
+
20078
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.module.LinkModuleParams")
20079
+ def __init__(self,
20080
+ linkUrn: str,
20081
+ ):
20082
+ super().__init__()
20083
+
20084
+ self.linkUrn = linkUrn
20085
+
20086
+ def _restore_defaults(self) -> None:
20087
+ self.linkUrn = str()
20088
+
20089
+
20090
+ @property
20091
+ def linkUrn(self) -> str:
20092
+ # No docs available.
20093
+ return self._inner_dict.get('linkUrn') # type: ignore
20094
+
20095
+ @linkUrn.setter
20096
+ def linkUrn(self, value: str) -> None:
20097
+ self._inner_dict['linkUrn'] = value
20098
+
20099
+
20100
+ class PageModuleScopeClass(object):
20101
+ # No docs available.
20102
+
20103
+ PERSONAL = "PERSONAL"
20104
+ """This module is used for individual use only"""
20105
+
20106
+ GLOBAL = "GLOBAL"
20107
+ """This module is discoverable and can be used by any user on the platform"""
20108
+
20109
+
20110
+
20111
+ class RichTextModuleParamsClass(DictWrapper):
20112
+ # No docs available.
20113
+
20114
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.module.RichTextModuleParams")
20115
+ def __init__(self,
20116
+ content: str,
20117
+ ):
20118
+ super().__init__()
20119
+
20120
+ self.content = content
20121
+
20122
+ def _restore_defaults(self) -> None:
20123
+ self.content = str()
20124
+
20125
+
20126
+ @property
20127
+ def content(self) -> str:
20128
+ # No docs available.
20129
+ return self._inner_dict.get('content') # type: ignore
20130
+
20131
+ @content.setter
20132
+ def content(self, value: str) -> None:
20133
+ self._inner_dict['content'] = value
20134
+
20135
+
19796
20136
  class GenericAspectClass(DictWrapper):
19797
20137
  """Generic record structure for serializing an Aspect"""
19798
20138
 
@@ -24124,6 +24464,31 @@ class DocPropagationFeatureSettingsClass(DictWrapper):
24124
24464
  self._inner_dict['columnPropagationEnabled'] = value
24125
24465
 
24126
24466
 
24467
+ class GlobalHomePageSettingsClass(DictWrapper):
24468
+ """Global settings related to the home page for an instance"""
24469
+
24470
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.settings.global.GlobalHomePageSettings")
24471
+ def __init__(self,
24472
+ defaultTemplate: str,
24473
+ ):
24474
+ super().__init__()
24475
+
24476
+ self.defaultTemplate = defaultTemplate
24477
+
24478
+ def _restore_defaults(self) -> None:
24479
+ self.defaultTemplate = str()
24480
+
24481
+
24482
+ @property
24483
+ def defaultTemplate(self) -> str:
24484
+ """The urn that will be rendered in the UI by default for all users"""
24485
+ return self._inner_dict.get('defaultTemplate') # type: ignore
24486
+
24487
+ @defaultTemplate.setter
24488
+ def defaultTemplate(self, value: str) -> None:
24489
+ self._inner_dict['defaultTemplate'] = value
24490
+
24491
+
24127
24492
  class GlobalSettingsInfoClass(_Aspect):
24128
24493
  """DataHub Global platform settings. Careful - these should not be modified by the outside world!"""
24129
24494
 
@@ -24136,6 +24501,7 @@ class GlobalSettingsInfoClass(_Aspect):
24136
24501
  sso: Union[None, "SsoSettingsClass"]=None,
24137
24502
  views: Union[None, "GlobalViewsSettingsClass"]=None,
24138
24503
  docPropagation: Optional[Union["DocPropagationFeatureSettingsClass", None]]=None,
24504
+ homePage: Union[None, "GlobalHomePageSettingsClass"]=None,
24139
24505
  ):
24140
24506
  super().__init__()
24141
24507
 
@@ -24146,11 +24512,13 @@ class GlobalSettingsInfoClass(_Aspect):
24146
24512
  self.docPropagation = _json_converter.from_json_object(self.RECORD_SCHEMA.fields_dict["docPropagation"].default, writers_schema=self.RECORD_SCHEMA.fields_dict["docPropagation"].type)
24147
24513
  else:
24148
24514
  self.docPropagation = docPropagation
24515
+ self.homePage = homePage
24149
24516
 
24150
24517
  def _restore_defaults(self) -> None:
24151
24518
  self.sso = self.RECORD_SCHEMA.fields_dict["sso"].default
24152
24519
  self.views = self.RECORD_SCHEMA.fields_dict["views"].default
24153
24520
  self.docPropagation = _json_converter.from_json_object(self.RECORD_SCHEMA.fields_dict["docPropagation"].default, writers_schema=self.RECORD_SCHEMA.fields_dict["docPropagation"].type)
24521
+ self.homePage = self.RECORD_SCHEMA.fields_dict["homePage"].default
24154
24522
 
24155
24523
 
24156
24524
  @property
@@ -24183,6 +24551,16 @@ class GlobalSettingsInfoClass(_Aspect):
24183
24551
  self._inner_dict['docPropagation'] = value
24184
24552
 
24185
24553
 
24554
+ @property
24555
+ def homePage(self) -> Union[None, "GlobalHomePageSettingsClass"]:
24556
+ """Global settings related to the home page for an instance"""
24557
+ return self._inner_dict.get('homePage') # type: ignore
24558
+
24559
+ @homePage.setter
24560
+ def homePage(self, value: Union[None, "GlobalHomePageSettingsClass"]) -> None:
24561
+ self._inner_dict['homePage'] = value
24562
+
24563
+
24186
24564
  class GlobalViewsSettingsClass(DictWrapper):
24187
24565
  """Settings for DataHub Views feature."""
24188
24566
 
@@ -25120,6 +25498,181 @@ class TelemetryClientIdClass(_Aspect):
25120
25498
  self._inner_dict['clientId'] = value
25121
25499
 
25122
25500
 
25501
+ class DataHubPageTemplatePropertiesClass(_Aspect):
25502
+ """The main properties of a DataHub page template"""
25503
+
25504
+
25505
+ ASPECT_NAME = 'dataHubPageTemplateProperties'
25506
+ ASPECT_INFO = {}
25507
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.template.DataHubPageTemplateProperties")
25508
+
25509
+ def __init__(self,
25510
+ rows: List["DataHubPageTemplateRowClass"],
25511
+ surface: "DataHubPageTemplateSurfaceClass",
25512
+ visibility: "DataHubPageTemplateVisibilityClass",
25513
+ created: "AuditStampClass",
25514
+ lastModified: "AuditStampClass",
25515
+ ):
25516
+ super().__init__()
25517
+
25518
+ self.rows = rows
25519
+ self.surface = surface
25520
+ self.visibility = visibility
25521
+ self.created = created
25522
+ self.lastModified = lastModified
25523
+
25524
+ def _restore_defaults(self) -> None:
25525
+ self.rows = list()
25526
+ self.surface = DataHubPageTemplateSurfaceClass._construct_with_defaults()
25527
+ self.visibility = DataHubPageTemplateVisibilityClass._construct_with_defaults()
25528
+ self.created = AuditStampClass._construct_with_defaults()
25529
+ self.lastModified = AuditStampClass._construct_with_defaults()
25530
+
25531
+
25532
+ @property
25533
+ def rows(self) -> List["DataHubPageTemplateRowClass"]:
25534
+ """The rows of modules contained in this template"""
25535
+ return self._inner_dict.get('rows') # type: ignore
25536
+
25537
+ @rows.setter
25538
+ def rows(self, value: List["DataHubPageTemplateRowClass"]) -> None:
25539
+ self._inner_dict['rows'] = value
25540
+
25541
+
25542
+ @property
25543
+ def surface(self) -> "DataHubPageTemplateSurfaceClass":
25544
+ """Info about the surface area of the product that this template is deployed in"""
25545
+ return self._inner_dict.get('surface') # type: ignore
25546
+
25547
+ @surface.setter
25548
+ def surface(self, value: "DataHubPageTemplateSurfaceClass") -> None:
25549
+ self._inner_dict['surface'] = value
25550
+
25551
+
25552
+ @property
25553
+ def visibility(self) -> "DataHubPageTemplateVisibilityClass":
25554
+ """Info about the visibility of this template"""
25555
+ return self._inner_dict.get('visibility') # type: ignore
25556
+
25557
+ @visibility.setter
25558
+ def visibility(self, value: "DataHubPageTemplateVisibilityClass") -> None:
25559
+ self._inner_dict['visibility'] = value
25560
+
25561
+
25562
+ @property
25563
+ def created(self) -> "AuditStampClass":
25564
+ """Audit stamp for when and by whom this template was created"""
25565
+ return self._inner_dict.get('created') # type: ignore
25566
+
25567
+ @created.setter
25568
+ def created(self, value: "AuditStampClass") -> None:
25569
+ self._inner_dict['created'] = value
25570
+
25571
+
25572
+ @property
25573
+ def lastModified(self) -> "AuditStampClass":
25574
+ """Audit stamp for when and by whom this template was last updated"""
25575
+ return self._inner_dict.get('lastModified') # type: ignore
25576
+
25577
+ @lastModified.setter
25578
+ def lastModified(self, value: "AuditStampClass") -> None:
25579
+ self._inner_dict['lastModified'] = value
25580
+
25581
+
25582
+ class DataHubPageTemplateRowClass(DictWrapper):
25583
+ """A row of modules contained in a template"""
25584
+
25585
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.template.DataHubPageTemplateRow")
25586
+ def __init__(self,
25587
+ modules: List[str],
25588
+ ):
25589
+ super().__init__()
25590
+
25591
+ self.modules = modules
25592
+
25593
+ def _restore_defaults(self) -> None:
25594
+ self.modules = list()
25595
+
25596
+
25597
+ @property
25598
+ def modules(self) -> List[str]:
25599
+ """The modules that exist in this template row"""
25600
+ return self._inner_dict.get('modules') # type: ignore
25601
+
25602
+ @modules.setter
25603
+ def modules(self, value: List[str]) -> None:
25604
+ self._inner_dict['modules'] = value
25605
+
25606
+
25607
+ class DataHubPageTemplateSurfaceClass(DictWrapper):
25608
+ """Info about the surface area of the product that this template is deployed in"""
25609
+
25610
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.template.DataHubPageTemplateSurface")
25611
+ def __init__(self,
25612
+ surfaceType: Union[str, "PageTemplateSurfaceTypeClass"],
25613
+ ):
25614
+ super().__init__()
25615
+
25616
+ self.surfaceType = surfaceType
25617
+
25618
+ def _restore_defaults(self) -> None:
25619
+ self.surfaceType = PageTemplateSurfaceTypeClass.HOME_PAGE
25620
+
25621
+
25622
+ @property
25623
+ def surfaceType(self) -> Union[str, "PageTemplateSurfaceTypeClass"]:
25624
+ """Where exactly is this template being used"""
25625
+ return self._inner_dict.get('surfaceType') # type: ignore
25626
+
25627
+ @surfaceType.setter
25628
+ def surfaceType(self, value: Union[str, "PageTemplateSurfaceTypeClass"]) -> None:
25629
+ self._inner_dict['surfaceType'] = value
25630
+
25631
+
25632
+ class DataHubPageTemplateVisibilityClass(DictWrapper):
25633
+ """Info about the visibility of this template"""
25634
+
25635
+ RECORD_SCHEMA = get_schema_type("com.linkedin.pegasus2avro.template.DataHubPageTemplateVisibility")
25636
+ def __init__(self,
25637
+ scope: Union[str, "PageTemplateScopeClass"],
25638
+ ):
25639
+ super().__init__()
25640
+
25641
+ self.scope = scope
25642
+
25643
+ def _restore_defaults(self) -> None:
25644
+ self.scope = PageTemplateScopeClass.PERSONAL
25645
+
25646
+
25647
+ @property
25648
+ def scope(self) -> Union[str, "PageTemplateScopeClass"]:
25649
+ """The scope of this template and who can use/see it"""
25650
+ return self._inner_dict.get('scope') # type: ignore
25651
+
25652
+ @scope.setter
25653
+ def scope(self, value: Union[str, "PageTemplateScopeClass"]) -> None:
25654
+ self._inner_dict['scope'] = value
25655
+
25656
+
25657
+ class PageTemplateScopeClass(object):
25658
+ # No docs available.
25659
+
25660
+ PERSONAL = "PERSONAL"
25661
+ """This template is used for individual use only"""
25662
+
25663
+ GLOBAL = "GLOBAL"
25664
+ """This template is used across users"""
25665
+
25666
+
25667
+
25668
+ class PageTemplateSurfaceTypeClass(object):
25669
+ # No docs available.
25670
+
25671
+ HOME_PAGE = "HOME_PAGE"
25672
+ """This template applies to what to display on the home page for users."""
25673
+
25674
+
25675
+
25123
25676
  class TestDefinitionClass(DictWrapper):
25124
25677
  # No docs available.
25125
25678
 
@@ -26312,6 +26865,7 @@ __SCHEMA_TYPES = {
26312
26865
  'com.linkedin.pegasus2avro.identity.CorpUserAppearanceSettings': CorpUserAppearanceSettingsClass,
26313
26866
  'com.linkedin.pegasus2avro.identity.CorpUserCredentials': CorpUserCredentialsClass,
26314
26867
  'com.linkedin.pegasus2avro.identity.CorpUserEditableInfo': CorpUserEditableInfoClass,
26868
+ 'com.linkedin.pegasus2avro.identity.CorpUserHomePageSettings': CorpUserHomePageSettingsClass,
26315
26869
  'com.linkedin.pegasus2avro.identity.CorpUserInfo': CorpUserInfoClass,
26316
26870
  'com.linkedin.pegasus2avro.identity.CorpUserSettings': CorpUserSettingsClass,
26317
26871
  'com.linkedin.pegasus2avro.identity.CorpUserStatus': CorpUserStatusClass,
@@ -26346,6 +26900,8 @@ __SCHEMA_TYPES = {
26346
26900
  'com.linkedin.pegasus2avro.metadata.key.DataHubConnectionKey': DataHubConnectionKeyClass,
26347
26901
  'com.linkedin.pegasus2avro.metadata.key.DataHubIngestionSourceKey': DataHubIngestionSourceKeyClass,
26348
26902
  'com.linkedin.pegasus2avro.metadata.key.DataHubOpenAPISchemaKey': DataHubOpenAPISchemaKeyClass,
26903
+ 'com.linkedin.pegasus2avro.metadata.key.DataHubPageModuleKey': DataHubPageModuleKeyClass,
26904
+ 'com.linkedin.pegasus2avro.metadata.key.DataHubPageTemplateKey': DataHubPageTemplateKeyClass,
26349
26905
  'com.linkedin.pegasus2avro.metadata.key.DataHubPersonaKey': DataHubPersonaKeyClass,
26350
26906
  'com.linkedin.pegasus2avro.metadata.key.DataHubPolicyKey': DataHubPolicyKeyClass,
26351
26907
  'com.linkedin.pegasus2avro.metadata.key.DataHubRetentionKey': DataHubRetentionKeyClass,
@@ -26440,6 +26996,13 @@ __SCHEMA_TYPES = {
26440
26996
  'com.linkedin.pegasus2avro.ml.metadata.SourceCodeUrl': SourceCodeUrlClass,
26441
26997
  'com.linkedin.pegasus2avro.ml.metadata.SourceCodeUrlType': SourceCodeUrlTypeClass,
26442
26998
  'com.linkedin.pegasus2avro.ml.metadata.TrainingData': TrainingDataClass,
26999
+ 'com.linkedin.pegasus2avro.module.DataHubPageModuleParams': DataHubPageModuleParamsClass,
27000
+ 'com.linkedin.pegasus2avro.module.DataHubPageModuleProperties': DataHubPageModulePropertiesClass,
27001
+ 'com.linkedin.pegasus2avro.module.DataHubPageModuleType': DataHubPageModuleTypeClass,
27002
+ 'com.linkedin.pegasus2avro.module.DataHubPageModuleVisibility': DataHubPageModuleVisibilityClass,
27003
+ 'com.linkedin.pegasus2avro.module.LinkModuleParams': LinkModuleParamsClass,
27004
+ 'com.linkedin.pegasus2avro.module.PageModuleScope': PageModuleScopeClass,
27005
+ 'com.linkedin.pegasus2avro.module.RichTextModuleParams': RichTextModuleParamsClass,
26443
27006
  'com.linkedin.pegasus2avro.mxe.GenericAspect': GenericAspectClass,
26444
27007
  'com.linkedin.pegasus2avro.mxe.GenericPayload': GenericPayloadClass,
26445
27008
  'com.linkedin.pegasus2avro.mxe.MetadataChangeEvent': MetadataChangeEventClass,
@@ -26524,6 +27087,7 @@ __SCHEMA_TYPES = {
26524
27087
  'com.linkedin.pegasus2avro.schemafield.SchemaFieldInfo': SchemaFieldInfoClass,
26525
27088
  'com.linkedin.pegasus2avro.secret.DataHubSecretValue': DataHubSecretValueClass,
26526
27089
  'com.linkedin.pegasus2avro.settings.global.DocPropagationFeatureSettings': DocPropagationFeatureSettingsClass,
27090
+ 'com.linkedin.pegasus2avro.settings.global.GlobalHomePageSettings': GlobalHomePageSettingsClass,
26527
27091
  'com.linkedin.pegasus2avro.settings.global.GlobalSettingsInfo': GlobalSettingsInfoClass,
26528
27092
  'com.linkedin.pegasus2avro.settings.global.GlobalViewsSettings': GlobalViewsSettingsClass,
26529
27093
  'com.linkedin.pegasus2avro.settings.global.OidcSettings': OidcSettingsClass,
@@ -26538,6 +27102,12 @@ __SCHEMA_TYPES = {
26538
27102
  'com.linkedin.pegasus2avro.structured.StructuredPropertyValueAssignment': StructuredPropertyValueAssignmentClass,
26539
27103
  'com.linkedin.pegasus2avro.tag.TagProperties': TagPropertiesClass,
26540
27104
  'com.linkedin.pegasus2avro.telemetry.TelemetryClientId': TelemetryClientIdClass,
27105
+ 'com.linkedin.pegasus2avro.template.DataHubPageTemplateProperties': DataHubPageTemplatePropertiesClass,
27106
+ 'com.linkedin.pegasus2avro.template.DataHubPageTemplateRow': DataHubPageTemplateRowClass,
27107
+ 'com.linkedin.pegasus2avro.template.DataHubPageTemplateSurface': DataHubPageTemplateSurfaceClass,
27108
+ 'com.linkedin.pegasus2avro.template.DataHubPageTemplateVisibility': DataHubPageTemplateVisibilityClass,
27109
+ 'com.linkedin.pegasus2avro.template.PageTemplateScope': PageTemplateScopeClass,
27110
+ 'com.linkedin.pegasus2avro.template.PageTemplateSurfaceType': PageTemplateSurfaceTypeClass,
26541
27111
  'com.linkedin.pegasus2avro.test.TestDefinition': TestDefinitionClass,
26542
27112
  'com.linkedin.pegasus2avro.test.TestDefinitionType': TestDefinitionTypeClass,
26543
27113
  'com.linkedin.pegasus2avro.test.TestInfo': TestInfoClass,
@@ -26801,6 +27371,7 @@ __SCHEMA_TYPES = {
26801
27371
  'CorpUserAppearanceSettings': CorpUserAppearanceSettingsClass,
26802
27372
  'CorpUserCredentials': CorpUserCredentialsClass,
26803
27373
  'CorpUserEditableInfo': CorpUserEditableInfoClass,
27374
+ 'CorpUserHomePageSettings': CorpUserHomePageSettingsClass,
26804
27375
  'CorpUserInfo': CorpUserInfoClass,
26805
27376
  'CorpUserSettings': CorpUserSettingsClass,
26806
27377
  'CorpUserStatus': CorpUserStatusClass,
@@ -26835,6 +27406,8 @@ __SCHEMA_TYPES = {
26835
27406
  'DataHubConnectionKey': DataHubConnectionKeyClass,
26836
27407
  'DataHubIngestionSourceKey': DataHubIngestionSourceKeyClass,
26837
27408
  'DataHubOpenAPISchemaKey': DataHubOpenAPISchemaKeyClass,
27409
+ 'DataHubPageModuleKey': DataHubPageModuleKeyClass,
27410
+ 'DataHubPageTemplateKey': DataHubPageTemplateKeyClass,
26838
27411
  'DataHubPersonaKey': DataHubPersonaKeyClass,
26839
27412
  'DataHubPolicyKey': DataHubPolicyKeyClass,
26840
27413
  'DataHubRetentionKey': DataHubRetentionKeyClass,
@@ -26929,6 +27502,13 @@ __SCHEMA_TYPES = {
26929
27502
  'SourceCodeUrl': SourceCodeUrlClass,
26930
27503
  'SourceCodeUrlType': SourceCodeUrlTypeClass,
26931
27504
  'TrainingData': TrainingDataClass,
27505
+ 'DataHubPageModuleParams': DataHubPageModuleParamsClass,
27506
+ 'DataHubPageModuleProperties': DataHubPageModulePropertiesClass,
27507
+ 'DataHubPageModuleType': DataHubPageModuleTypeClass,
27508
+ 'DataHubPageModuleVisibility': DataHubPageModuleVisibilityClass,
27509
+ 'LinkModuleParams': LinkModuleParamsClass,
27510
+ 'PageModuleScope': PageModuleScopeClass,
27511
+ 'RichTextModuleParams': RichTextModuleParamsClass,
26932
27512
  'GenericAspect': GenericAspectClass,
26933
27513
  'GenericPayload': GenericPayloadClass,
26934
27514
  'MetadataChangeEvent': MetadataChangeEventClass,
@@ -27013,6 +27593,7 @@ __SCHEMA_TYPES = {
27013
27593
  'SchemaFieldInfo': SchemaFieldInfoClass,
27014
27594
  'DataHubSecretValue': DataHubSecretValueClass,
27015
27595
  'DocPropagationFeatureSettings': DocPropagationFeatureSettingsClass,
27596
+ 'GlobalHomePageSettings': GlobalHomePageSettingsClass,
27016
27597
  'GlobalSettingsInfo': GlobalSettingsInfoClass,
27017
27598
  'GlobalViewsSettings': GlobalViewsSettingsClass,
27018
27599
  'OidcSettings': OidcSettingsClass,
@@ -27027,6 +27608,12 @@ __SCHEMA_TYPES = {
27027
27608
  'StructuredPropertyValueAssignment': StructuredPropertyValueAssignmentClass,
27028
27609
  'TagProperties': TagPropertiesClass,
27029
27610
  'TelemetryClientId': TelemetryClientIdClass,
27611
+ 'DataHubPageTemplateProperties': DataHubPageTemplatePropertiesClass,
27612
+ 'DataHubPageTemplateRow': DataHubPageTemplateRowClass,
27613
+ 'DataHubPageTemplateSurface': DataHubPageTemplateSurfaceClass,
27614
+ 'DataHubPageTemplateVisibility': DataHubPageTemplateVisibilityClass,
27615
+ 'PageTemplateScope': PageTemplateScopeClass,
27616
+ 'PageTemplateSurfaceType': PageTemplateSurfaceTypeClass,
27030
27617
  'TestDefinition': TestDefinitionClass,
27031
27618
  'TestDefinitionType': TestDefinitionTypeClass,
27032
27619
  'TestInfo': TestInfoClass,
@@ -27105,6 +27692,7 @@ ASPECT_CLASSES: List[Type[_Aspect]] = [
27105
27692
  OwnershipTypeInfoClass,
27106
27693
  EntityTypeKeyClass,
27107
27694
  EntityTypeInfoClass,
27695
+ DataHubPageModulePropertiesClass,
27108
27696
  OperationClass,
27109
27697
  OriginClass,
27110
27698
  OwnershipClass,
@@ -27184,6 +27772,7 @@ ASPECT_CLASSES: List[Type[_Aspect]] = [
27184
27772
  TestInfoClass,
27185
27773
  TestResultsClass,
27186
27774
  PostInfoClass,
27775
+ DataHubPageTemplatePropertiesClass,
27187
27776
  ApplicationKeyClass,
27188
27777
  ApplicationsClass,
27189
27778
  ApplicationPropertiesClass,
@@ -27205,6 +27794,7 @@ ASPECT_CLASSES: List[Type[_Aspect]] = [
27205
27794
  ERModelRelationshipKeyClass,
27206
27795
  MLPrimaryKeyKeyClass,
27207
27796
  GlossaryTermKeyClass,
27797
+ DataHubPageTemplateKeyClass,
27208
27798
  CorpGroupKeyClass,
27209
27799
  MLModelGroupKeyClass,
27210
27800
  IncidentKeyClass,
@@ -27214,6 +27804,7 @@ ASPECT_CLASSES: List[Type[_Aspect]] = [
27214
27804
  DataHubRetentionKeyClass,
27215
27805
  VersionSetKeyClass,
27216
27806
  TagKeyClass,
27807
+ DataHubPageModuleKeyClass,
27217
27808
  DataHubRoleKeyClass,
27218
27809
  DashboardKeyClass,
27219
27810
  DataFlowKeyClass,
@@ -27333,6 +27924,7 @@ class AspectBag(TypedDict, total=False):
27333
27924
  ownershipTypeInfo: OwnershipTypeInfoClass
27334
27925
  entityTypeKey: EntityTypeKeyClass
27335
27926
  entityTypeInfo: EntityTypeInfoClass
27927
+ dataHubPageModuleProperties: DataHubPageModulePropertiesClass
27336
27928
  operation: OperationClass
27337
27929
  origin: OriginClass
27338
27930
  ownership: OwnershipClass
@@ -27412,6 +28004,7 @@ class AspectBag(TypedDict, total=False):
27412
28004
  testInfo: TestInfoClass
27413
28005
  testResults: TestResultsClass
27414
28006
  postInfo: PostInfoClass
28007
+ dataHubPageTemplateProperties: DataHubPageTemplatePropertiesClass
27415
28008
  applicationKey: ApplicationKeyClass
27416
28009
  applications: ApplicationsClass
27417
28010
  applicationProperties: ApplicationPropertiesClass
@@ -27433,6 +28026,7 @@ class AspectBag(TypedDict, total=False):
27433
28026
  erModelRelationshipKey: ERModelRelationshipKeyClass
27434
28027
  mlPrimaryKeyKey: MLPrimaryKeyKeyClass
27435
28028
  glossaryTermKey: GlossaryTermKeyClass
28029
+ dataHubPageTemplateKey: DataHubPageTemplateKeyClass
27436
28030
  corpGroupKey: CorpGroupKeyClass
27437
28031
  mlModelGroupKey: MLModelGroupKeyClass
27438
28032
  incidentKey: IncidentKeyClass
@@ -27442,6 +28036,7 @@ class AspectBag(TypedDict, total=False):
27442
28036
  dataHubRetentionKey: DataHubRetentionKeyClass
27443
28037
  versionSetKey: VersionSetKeyClass
27444
28038
  tagKey: TagKeyClass
28039
+ dataHubPageModuleKey: DataHubPageModuleKeyClass
27445
28040
  dataHubRoleKey: DataHubRoleKeyClass
27446
28041
  dashboardKey: DashboardKeyClass
27447
28042
  dataFlowKey: DataFlowKeyClass
@@ -27531,6 +28126,7 @@ KEY_ASPECTS: Dict[str, Type[_Aspect]] = {
27531
28126
  'erModelRelationship': ERModelRelationshipKeyClass,
27532
28127
  'mlPrimaryKey': MLPrimaryKeyKeyClass,
27533
28128
  'glossaryTerm': GlossaryTermKeyClass,
28129
+ 'dataHubPageTemplate': DataHubPageTemplateKeyClass,
27534
28130
  'corpGroup': CorpGroupKeyClass,
27535
28131
  'mlModelGroup': MLModelGroupKeyClass,
27536
28132
  'incident': IncidentKeyClass,
@@ -27540,6 +28136,7 @@ KEY_ASPECTS: Dict[str, Type[_Aspect]] = {
27540
28136
  'dataHubRetention': DataHubRetentionKeyClass,
27541
28137
  'versionSet': VersionSetKeyClass,
27542
28138
  'tag': TagKeyClass,
28139
+ 'dataHubPageModule': DataHubPageModuleKeyClass,
27543
28140
  'dataHubRole': DataHubRoleKeyClass,
27544
28141
  'dashboard': DashboardKeyClass,
27545
28142
  'dataFlow': DataFlowKeyClass,
@@ -27593,6 +28190,7 @@ ENTITY_TYPE_NAMES: List[str] = [
27593
28190
  'erModelRelationship',
27594
28191
  'mlPrimaryKey',
27595
28192
  'glossaryTerm',
28193
+ 'dataHubPageTemplate',
27596
28194
  'corpGroup',
27597
28195
  'mlModelGroup',
27598
28196
  'incident',
@@ -27602,6 +28200,7 @@ ENTITY_TYPE_NAMES: List[str] = [
27602
28200
  'dataHubRetention',
27603
28201
  'versionSet',
27604
28202
  'tag',
28203
+ 'dataHubPageModule',
27605
28204
  'dataHubRole',
27606
28205
  'dashboard',
27607
28206
  'dataFlow',
@@ -27654,6 +28253,7 @@ EntityTypeName = Literal[
27654
28253
  'erModelRelationship',
27655
28254
  'mlPrimaryKey',
27656
28255
  'glossaryTerm',
28256
+ 'dataHubPageTemplate',
27657
28257
  'corpGroup',
27658
28258
  'mlModelGroup',
27659
28259
  'incident',
@@ -27663,6 +28263,7 @@ EntityTypeName = Literal[
27663
28263
  'dataHubRetention',
27664
28264
  'versionSet',
27665
28265
  'tag',
28266
+ 'dataHubPageModule',
27666
28267
  'dataHubRole',
27667
28268
  'dashboard',
27668
28269
  'dataFlow',