acryl-datahub-cloud 0.3.7.7rc4__py3-none-any.whl → 0.3.8rc0__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 (43) hide show
  1. acryl_datahub_cloud/_codegen_config.json +1 -1
  2. acryl_datahub_cloud/api/__init__.py +1 -0
  3. acryl_datahub_cloud/api/client.py +6 -0
  4. acryl_datahub_cloud/api/entity_versioning.py +167 -0
  5. acryl_datahub_cloud/lineage_features/source.py +22 -5
  6. acryl_datahub_cloud/metadata/_urns/urn_defs.py +54 -0
  7. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/common/__init__.py +2 -0
  8. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/metadata/key/__init__.py +2 -0
  9. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/structured/__init__.py +2 -0
  10. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/versionset/__init__.py +17 -0
  11. acryl_datahub_cloud/metadata/schema.avsc +312 -21
  12. acryl_datahub_cloud/metadata/schema_classes.py +420 -6
  13. acryl_datahub_cloud/metadata/schemas/AssertionAnalyticsRunEvent.avsc +1 -1
  14. acryl_datahub_cloud/metadata/schemas/AssertionInferenceDetails.avsc +1 -1
  15. acryl_datahub_cloud/metadata/schemas/AssertionInfo.avsc +1 -1
  16. acryl_datahub_cloud/metadata/schemas/AssertionRunEvent.avsc +1 -1
  17. acryl_datahub_cloud/metadata/schemas/DataHubIngestionSourceInfo.avsc +6 -0
  18. acryl_datahub_cloud/metadata/schemas/DataHubViewInfo.avsc +2 -0
  19. acryl_datahub_cloud/metadata/schemas/DatasetKey.avsc +2 -1
  20. acryl_datahub_cloud/metadata/schemas/Deprecation.avsc +12 -0
  21. acryl_datahub_cloud/metadata/schemas/DynamicFormAssignment.avsc +2 -0
  22. acryl_datahub_cloud/metadata/schemas/Filter.avsc +2 -0
  23. acryl_datahub_cloud/metadata/schemas/MLFeatureProperties.avsc +51 -0
  24. acryl_datahub_cloud/metadata/schemas/MLModelDeploymentProperties.avsc +51 -0
  25. acryl_datahub_cloud/metadata/schemas/MLModelGroupProperties.avsc +51 -0
  26. acryl_datahub_cloud/metadata/schemas/MLModelKey.avsc +2 -1
  27. acryl_datahub_cloud/metadata/schemas/MLModelProperties.avsc +51 -0
  28. acryl_datahub_cloud/metadata/schemas/MLPrimaryKeyProperties.avsc +51 -0
  29. acryl_datahub_cloud/metadata/schemas/MetadataChangeEvent.avsc +20 -0
  30. acryl_datahub_cloud/metadata/schemas/MonitorInfo.avsc +10 -1
  31. acryl_datahub_cloud/metadata/schemas/RecommendationModule.avsc +2 -0
  32. acryl_datahub_cloud/metadata/schemas/SchemaFieldKey.avsc +2 -1
  33. acryl_datahub_cloud/metadata/schemas/StructuredPropertyDefinition.avsc +2 -1
  34. acryl_datahub_cloud/metadata/schemas/StructuredPropertyKey.avsc +1 -0
  35. acryl_datahub_cloud/metadata/schemas/StructuredPropertySettings.avsc +114 -0
  36. acryl_datahub_cloud/metadata/schemas/VersionProperties.avsc +212 -0
  37. acryl_datahub_cloud/metadata/schemas/VersionSetKey.avsc +26 -0
  38. acryl_datahub_cloud/metadata/schemas/VersionSetProperties.avsc +49 -0
  39. {acryl_datahub_cloud-0.3.7.7rc4.dist-info → acryl_datahub_cloud-0.3.8rc0.dist-info}/METADATA +47 -47
  40. {acryl_datahub_cloud-0.3.7.7rc4.dist-info → acryl_datahub_cloud-0.3.8rc0.dist-info}/RECORD +43 -35
  41. {acryl_datahub_cloud-0.3.7.7rc4.dist-info → acryl_datahub_cloud-0.3.8rc0.dist-info}/WHEEL +0 -0
  42. {acryl_datahub_cloud-0.3.7.7rc4.dist-info → acryl_datahub_cloud-0.3.8rc0.dist-info}/entry_points.txt +0 -0
  43. {acryl_datahub_cloud-0.3.7.7rc4.dist-info → acryl_datahub_cloud-0.3.8rc0.dist-info}/top_level.txt +0 -0
@@ -1680,6 +1680,7 @@
1680
1680
  "type": "enum",
1681
1681
  "symbolDocs": {
1682
1682
  "ANCESTORS_INCL": "Represent the relation: URN field matches any nested parent in addition to the given URN",
1683
+ "BETWEEN": "Represent the relation within an inclusive range, e.g. 3 <= ownerCount <= 5. Note that the values in Criterion must have two entries for a lower and upper bound.",
1683
1684
  "CONTAIN": "Represent the relation: String field contains value, e.g. name contains Profile",
1684
1685
  "DESCENDANTS_INCL": "Represent the relation: URN field any nested children in addition to the given URN",
1685
1686
  "END_WITH": "Represent the relation: String field ends with value, e.g. name ends with Event",
@@ -1709,6 +1710,7 @@
1709
1710
  "IN",
1710
1711
  "LESS_THAN",
1711
1712
  "LESS_THAN_OR_EQUAL_TO",
1713
+ "BETWEEN",
1712
1714
  "START_WITH",
1713
1715
  "DESCENDANTS_INCL",
1714
1716
  "ANCESTORS_INCL",
@@ -2418,6 +2420,32 @@
2418
2420
  }
2419
2421
  ]
2420
2422
  },
2423
+ {
2424
+ "type": "record",
2425
+ "Aspect": {
2426
+ "name": "versionSetKey",
2427
+ "keyForEntity": "versionSet",
2428
+ "entityCategory": "core",
2429
+ "entityAspects": [
2430
+ "versionSetProperties"
2431
+ ]
2432
+ },
2433
+ "name": "VersionSetKey",
2434
+ "namespace": "com.linkedin.pegasus2avro.metadata.key",
2435
+ "fields": [
2436
+ {
2437
+ "type": "string",
2438
+ "name": "id",
2439
+ "doc": "ID of the Version Set, generated from platform + asset id / name"
2440
+ },
2441
+ {
2442
+ "type": "string",
2443
+ "name": "entityType",
2444
+ "doc": "Type of entities included in version set, limits to a single entity type between linked versioned entities"
2445
+ }
2446
+ ],
2447
+ "doc": "Key for a Version Set entity"
2448
+ },
2421
2449
  {
2422
2450
  "type": "record",
2423
2451
  "Aspect": {
@@ -3389,7 +3417,8 @@
3389
3417
  "documentation",
3390
3418
  "testResults",
3391
3419
  "schemaFieldProfile",
3392
- "lineageFeatures"
3420
+ "lineageFeatures",
3421
+ "deprecation"
3393
3422
  ]
3394
3423
  },
3395
3424
  "name": "SchemaFieldKey",
@@ -4090,7 +4119,8 @@
4090
4119
  "share",
4091
4120
  "origin",
4092
4121
  "documentation",
4093
- "entityInferenceMetadata"
4122
+ "entityInferenceMetadata",
4123
+ "versionProperties"
4094
4124
  ],
4095
4125
  "entityDoc": "Datasets represent logical or physical data assets stored or represented in various data platforms. Tables, Views, Streams are all instances of datasets."
4096
4126
  },
@@ -4409,7 +4439,8 @@
4409
4439
  "origin",
4410
4440
  "lineageFeatures",
4411
4441
  "documentation",
4412
- "incidentsSummary"
4442
+ "incidentsSummary",
4443
+ "versionProperties"
4413
4444
  ]
4414
4445
  },
4415
4446
  "name": "MLModelKey",
@@ -6195,6 +6226,7 @@
6195
6226
  "entityCategory": "core",
6196
6227
  "entityAspects": [
6197
6228
  "propertyDefinition",
6229
+ "structuredPropertySettings",
6198
6230
  "institutionalMemory",
6199
6231
  "status",
6200
6232
  "share",
@@ -6536,6 +6568,7 @@
6536
6568
  "Searchable": {
6537
6569
  "fieldType": "KEYWORD"
6538
6570
  },
6571
+ "deprecated": true,
6539
6572
  "type": [
6540
6573
  {
6541
6574
  "type": "enum",
@@ -6554,10 +6587,81 @@
6554
6587
  ],
6555
6588
  "name": "filterStatus",
6556
6589
  "default": "DISABLED",
6557
- "doc": "The filter status of this structured property - whether it will show up in search filters or not"
6590
+ "doc": "The filter status of this structured property - whether it will show up in search filters or not\nDeprecated! Use structuredPropertySettings.showInSearchFilters instead"
6558
6591
  }
6559
6592
  ]
6560
6593
  },
6594
+ {
6595
+ "type": "record",
6596
+ "Aspect": {
6597
+ "name": "structuredPropertySettings"
6598
+ },
6599
+ "name": "StructuredPropertySettings",
6600
+ "namespace": "com.linkedin.pegasus2avro.structured",
6601
+ "fields": [
6602
+ {
6603
+ "Searchable": {
6604
+ "fieldType": "BOOLEAN"
6605
+ },
6606
+ "type": "boolean",
6607
+ "name": "isHidden",
6608
+ "default": false,
6609
+ "doc": "Whether or not this asset should be hidden in the main application"
6610
+ },
6611
+ {
6612
+ "Searchable": {
6613
+ "fieldType": "BOOLEAN"
6614
+ },
6615
+ "type": "boolean",
6616
+ "name": "showInSearchFilters",
6617
+ "default": false,
6618
+ "doc": "Whether or not this asset should be displayed as a search filter"
6619
+ },
6620
+ {
6621
+ "Searchable": {
6622
+ "fieldType": "BOOLEAN"
6623
+ },
6624
+ "type": "boolean",
6625
+ "name": "showInAssetSummary",
6626
+ "default": false,
6627
+ "doc": "Whether or not this asset should be displayed in the asset sidebar"
6628
+ },
6629
+ {
6630
+ "Searchable": {
6631
+ "fieldType": "BOOLEAN"
6632
+ },
6633
+ "type": "boolean",
6634
+ "name": "showAsAssetBadge",
6635
+ "default": false,
6636
+ "doc": "Whether or not this asset should be displayed as an asset badge on other\nasset's headers"
6637
+ },
6638
+ {
6639
+ "Searchable": {
6640
+ "fieldType": "BOOLEAN"
6641
+ },
6642
+ "type": "boolean",
6643
+ "name": "showInColumnsTable",
6644
+ "default": false,
6645
+ "doc": "Whether or not this asset should be displayed as a column in the schema field table\nin a Dataset's \"Columns\" tab."
6646
+ },
6647
+ {
6648
+ "Searchable": {
6649
+ "/time": {
6650
+ "fieldName": "lastModifiedSettings",
6651
+ "fieldType": "DATETIME"
6652
+ }
6653
+ },
6654
+ "type": [
6655
+ "null",
6656
+ "com.linkedin.pegasus2avro.common.AuditStamp"
6657
+ ],
6658
+ "name": "lastModified",
6659
+ "default": null,
6660
+ "doc": "Last Modified Audit stamp"
6661
+ }
6662
+ ],
6663
+ "doc": "Settings specific to a structured property entity"
6664
+ },
6561
6665
  {
6562
6666
  "type": "record",
6563
6667
  "Aspect": {
@@ -10249,7 +10353,7 @@
10249
10353
  "doc": "The adjustment algorithm to use when determining the threshold for an assertion."
10250
10354
  },
10251
10355
  "name": "algorithm",
10252
- "doc": "The algorithm to use to adjust assertion values to power the sensitivity control feature"
10356
+ "doc": "The algorithm to use to adjust assertion values to power the sensitivity control feature\n\nNote that for algorithm \"STDDEV\" which leverages the standard deviation of trailing values,\nthe \"stdDev\" field must be provided inside of AssertionEvaluationContext.pdl by the offline pipeline."
10253
10357
  },
10254
10358
  {
10255
10359
  "type": "string",
@@ -10335,6 +10439,15 @@
10335
10439
  "name": "embeddedAssertions",
10336
10440
  "default": null,
10337
10441
  "doc": "Currently used for Smart Assertions\nAn embedded copy of the assertion used to evaluate which will overwrite the referenced assertion\nif present and if the EmbeddedAssertion's evaluationTimeWindow period is valid"
10442
+ },
10443
+ {
10444
+ "type": [
10445
+ "null",
10446
+ "float"
10447
+ ],
10448
+ "name": "stdDev",
10449
+ "default": null,
10450
+ "doc": "The std deviation of the metric values used for training.\nThis is used to determine the final adjusted threshold for the assertion."
10338
10451
  }
10339
10452
  ],
10340
10453
  "doc": "Additional context about assertion being evaluated."
@@ -11820,6 +11933,132 @@
11820
11933
  ],
11821
11934
  "doc": "Proposals aspect for proposed tags and glossary terms for an entity.\nThese are secondary indices and ActionRequests remain the source of truth."
11822
11935
  },
11936
+ {
11937
+ "type": "record",
11938
+ "Aspect": {
11939
+ "name": "versionProperties"
11940
+ },
11941
+ "name": "VersionProperties",
11942
+ "namespace": "com.linkedin.pegasus2avro.common",
11943
+ "fields": [
11944
+ {
11945
+ "Relationship": {
11946
+ "entityTypes": [
11947
+ "versionSet"
11948
+ ],
11949
+ "name": "VersionOf"
11950
+ },
11951
+ "Searchable": {
11952
+ "queryByDefault": false
11953
+ },
11954
+ "java": {
11955
+ "class": "com.linkedin.pegasus2avro.common.urn.Urn"
11956
+ },
11957
+ "Urn": "Urn",
11958
+ "entityTypes": [
11959
+ "versionSet"
11960
+ ],
11961
+ "type": "string",
11962
+ "name": "versionSet",
11963
+ "doc": "The linked Version Set entity that ties multiple versioned assets together"
11964
+ },
11965
+ {
11966
+ "Searchable": {
11967
+ "/versionTag": {
11968
+ "fieldName": "version",
11969
+ "queryByDefault": false
11970
+ }
11971
+ },
11972
+ "type": {
11973
+ "type": "record",
11974
+ "name": "VersionTag",
11975
+ "namespace": "com.linkedin.pegasus2avro.common",
11976
+ "fields": [
11977
+ {
11978
+ "type": [
11979
+ "null",
11980
+ "string"
11981
+ ],
11982
+ "name": "versionTag",
11983
+ "default": null
11984
+ },
11985
+ {
11986
+ "type": [
11987
+ "null",
11988
+ "com.linkedin.pegasus2avro.common.MetadataAttribution"
11989
+ ],
11990
+ "name": "metadataAttribution",
11991
+ "default": null
11992
+ }
11993
+ ],
11994
+ "doc": "A resource-defined string representing the resource state for the purpose of concurrency control"
11995
+ },
11996
+ "name": "version",
11997
+ "doc": "Label for this versioned asset, is unique within a version set"
11998
+ },
11999
+ {
12000
+ "Searchable": {
12001
+ "/*/versionTag": {
12002
+ "fieldName": "aliases",
12003
+ "queryByDefault": false
12004
+ }
12005
+ },
12006
+ "type": {
12007
+ "type": "array",
12008
+ "items": "com.linkedin.pegasus2avro.common.VersionTag"
12009
+ },
12010
+ "name": "aliases",
12011
+ "default": [],
12012
+ "doc": "Associated aliases for this versioned asset"
12013
+ },
12014
+ {
12015
+ "type": [
12016
+ "null",
12017
+ "string"
12018
+ ],
12019
+ "name": "comment",
12020
+ "default": null,
12021
+ "doc": "Comment documenting what this version was created for, changes, or represents"
12022
+ },
12023
+ {
12024
+ "Searchable": {
12025
+ "fieldName": "versionSortId",
12026
+ "queryByDefault": false
12027
+ },
12028
+ "type": "string",
12029
+ "name": "sortId",
12030
+ "doc": "Sort identifier that determines where a version lives in the order of the Version Set.\nWhat this looks like depends on the Version Scheme. For sort ids generated by DataHub we use an 8 character string representation."
12031
+ },
12032
+ {
12033
+ "type": [
12034
+ "null",
12035
+ "com.linkedin.pegasus2avro.common.AuditStamp"
12036
+ ],
12037
+ "name": "sourceCreatedTimestamp",
12038
+ "default": null,
12039
+ "doc": "Timestamp reflecting when this asset version was created in the source system."
12040
+ },
12041
+ {
12042
+ "type": [
12043
+ "null",
12044
+ "com.linkedin.pegasus2avro.common.AuditStamp"
12045
+ ],
12046
+ "name": "metadataCreatedTimestamp",
12047
+ "default": null,
12048
+ "doc": "Timestamp reflecting when the metadata for this version was created in DataHub"
12049
+ },
12050
+ {
12051
+ "type": [
12052
+ "null",
12053
+ "boolean"
12054
+ ],
12055
+ "name": "isLatest",
12056
+ "default": null,
12057
+ "doc": "Marks whether this version is currently the latest. Set by a side effect and should not be modified by API."
12058
+ }
12059
+ ],
12060
+ "doc": "Properties about a versioned asset i.e. dataset, ML Model, etc."
12061
+ },
11823
12062
  {
11824
12063
  "type": "record",
11825
12064
  "Aspect": {
@@ -13383,6 +13622,18 @@
13383
13622
  "type": "string",
13384
13623
  "name": "actor",
13385
13624
  "doc": "The user URN which will be credited for modifying this deprecation content."
13625
+ },
13626
+ {
13627
+ "java": {
13628
+ "class": "com.linkedin.pegasus2avro.common.urn.Urn"
13629
+ },
13630
+ "Urn": "Urn",
13631
+ "type": [
13632
+ "null",
13633
+ "string"
13634
+ ],
13635
+ "name": "replacement",
13636
+ "default": null
13386
13637
  }
13387
13638
  ],
13388
13639
  "doc": "Deprecation status of an entity"
@@ -14080,6 +14331,9 @@
14080
14331
  "doc": "The display name of the ingestion source"
14081
14332
  },
14082
14333
  {
14334
+ "Searchable": {
14335
+ "fieldType": "TEXT_PARTIAL"
14336
+ },
14083
14337
  "type": "string",
14084
14338
  "name": "type",
14085
14339
  "doc": "The type of the source itself, e.g. mysql, bigquery, bigquery-usage. Should match the recipe."
@@ -14144,6 +14398,9 @@
14144
14398
  "doc": "The PyPI version of the datahub CLI to use when executing a recipe"
14145
14399
  },
14146
14400
  {
14401
+ "Searchable": {
14402
+ "fieldName": "sourceExecutorId"
14403
+ },
14147
14404
  "type": [
14148
14405
  "null",
14149
14406
  "string"
@@ -22048,22 +22305,7 @@
22048
22305
  {
22049
22306
  "type": [
22050
22307
  "null",
22051
- {
22052
- "type": "record",
22053
- "name": "VersionTag",
22054
- "namespace": "com.linkedin.pegasus2avro.common",
22055
- "fields": [
22056
- {
22057
- "type": [
22058
- "null",
22059
- "string"
22060
- ],
22061
- "name": "versionTag",
22062
- "default": null
22063
- }
22064
- ],
22065
- "doc": "A resource-defined string representing the resource state for the purpose of concurrency control"
22066
- }
22308
+ "com.linkedin.pegasus2avro.common.VersionTag"
22067
22309
  ],
22068
22310
  "name": "version",
22069
22311
  "default": null,
@@ -26385,6 +26627,55 @@
26385
26627
  ],
26386
26628
  "doc": "A request to send a notification."
26387
26629
  },
26630
+ {
26631
+ "type": "record",
26632
+ "Aspect": {
26633
+ "name": "versionSetProperties"
26634
+ },
26635
+ "name": "VersionSetProperties",
26636
+ "namespace": "com.linkedin.pegasus2avro.versionset",
26637
+ "fields": [
26638
+ {
26639
+ "Searchable": {
26640
+ "/*": {
26641
+ "fieldType": "TEXT",
26642
+ "queryByDefault": true
26643
+ }
26644
+ },
26645
+ "type": {
26646
+ "type": "map",
26647
+ "values": "string"
26648
+ },
26649
+ "name": "customProperties",
26650
+ "default": {},
26651
+ "doc": "Custom property bag."
26652
+ },
26653
+ {
26654
+ "Searchable": {
26655
+ "queryByDefault": "false"
26656
+ },
26657
+ "java": {
26658
+ "class": "com.linkedin.pegasus2avro.common.urn.Urn"
26659
+ },
26660
+ "Urn": "Urn",
26661
+ "type": "string",
26662
+ "name": "latest",
26663
+ "doc": "The latest versioned entity linked to in this version set"
26664
+ },
26665
+ {
26666
+ "type": {
26667
+ "type": "enum",
26668
+ "name": "VersioningScheme",
26669
+ "namespace": "com.linkedin.pegasus2avro.versionset",
26670
+ "symbols": [
26671
+ "ALPHANUMERIC_GENERATED_BY_DATAHUB"
26672
+ ]
26673
+ },
26674
+ "name": "versioningScheme",
26675
+ "doc": "What versioning scheme is being utilized for the versioned entities sort criterion. Static once set"
26676
+ }
26677
+ ]
26678
+ },
26388
26679
  {
26389
26680
  "type": "record",
26390
26681
  "Aspect": {