acryl-datahub-cloud 0.3.12rc8__py3-none-any.whl → 0.3.12rc9__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.

@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "acryl-datahub-cloud",
3
- "version": "0.3.12rc8",
3
+ "version": "0.3.12rc9",
4
4
  "install_requires": [
5
5
  "avro-gen3==0.7.16",
6
6
  "acryl-datahub"
@@ -10,7 +10,7 @@ from pydantic import BaseModel
10
10
  from acryl_datahub_cloud.elasticsearch.graph_service import BaseModelRow
11
11
  from datahub.emitter.mcp import MetadataChangeProposalWrapper
12
12
  from datahub.ingestion.graph.client import DataHubGraph
13
- from datahub.ingestion.graph.filters import RawSearchFilterRule
13
+ from datahub.ingestion.graph.filters import RawSearchFilter
14
14
  from datahub.metadata.schema_classes import (
15
15
  DomainPropertiesClass,
16
16
  FormAssociationClass,
@@ -149,7 +149,7 @@ class DataHubFormReportingData(FormData):
149
149
  )
150
150
  )
151
151
 
152
- def get_form_existence_or_filters(self) -> List[RawSearchFilterRule]:
152
+ def get_form_existence_or_filters(self) -> RawSearchFilter:
153
153
  """
154
154
  Datasets must either have completedForms or incompleteForms assigned to
155
155
  them
@@ -157,25 +157,41 @@ class DataHubFormReportingData(FormData):
157
157
  if self.allowed_forms:
158
158
  return [
159
159
  {
160
- "field": "completedForms",
161
- "condition": "EQUAL",
162
- "values": self.allowed_forms,
160
+ "and": [
161
+ {
162
+ "field": "completedForms",
163
+ "condition": "EQUAL",
164
+ "values": self.allowed_forms,
165
+ }
166
+ ]
163
167
  },
164
168
  {
165
- "field": "incompleteForms",
166
- "condition": "EQUAL",
167
- "values": self.allowed_forms,
169
+ "and": [
170
+ {
171
+ "field": "incompleteForms",
172
+ "condition": "EQUAL",
173
+ "values": self.allowed_forms,
174
+ }
175
+ ]
168
176
  },
169
177
  ]
170
178
  else:
171
179
  return [
172
180
  {
173
- "field": "completedForms",
174
- "condition": "EXISTS",
181
+ "and": [
182
+ {
183
+ "field": "completedForms",
184
+ "condition": "EXISTS",
185
+ }
186
+ ]
175
187
  },
176
188
  {
177
- "field": "incompleteForms",
178
- "condition": "EXISTS",
189
+ "and": [
190
+ {
191
+ "field": "incompleteForms",
192
+ "condition": "EXISTS",
193
+ }
194
+ ]
179
195
  },
180
196
  ]
181
197
 
@@ -293,7 +309,7 @@ class DataHubFormReportingData(FormData):
293
309
  extra_fields = [f for f in self.DataHubDatasetSearchRow.__fields__]
294
310
  # TODO: Replace with the new search/filter SDK.
295
311
  result = self.graph.get_results_by_filter(
296
- extra_or_filters=[{"and": self.get_form_existence_or_filters()}],
312
+ extra_or_filters=self.get_form_existence_or_filters(),
297
313
  extra_source_fields=extra_fields,
298
314
  skip_cache=True,
299
315
  )
@@ -14983,6 +14983,15 @@
14983
14983
  "doc": "Overall rank of the dataset based on the the last 30 days insert/update operation count on a platform\nIt returns one plus the number of rows proceeding or equals to the current row in the ordering. "
14984
14984
  },
14985
14985
  {
14986
+ "Searchable": {
14987
+ "/*": {
14988
+ "addToFilters": true,
14989
+ "fieldName": "topUsersLast30Days",
14990
+ "fieldType": "URN",
14991
+ "filterNameOverride": "Top users last 30 days",
14992
+ "hasValuesFieldName": "hasTopUsersLast30Days"
14993
+ }
14994
+ },
14986
14995
  "Urn": "Urn",
14987
14996
  "urn_is_array": true,
14988
14997
  "type": [
@@ -160,6 +160,15 @@
160
160
  "doc": "Overall rank of the dataset based on the the last 30 days insert/update operation count on a platform\nIt returns one plus the number of rows proceeding or equals to the current row in the ordering. "
161
161
  },
162
162
  {
163
+ "Searchable": {
164
+ "/*": {
165
+ "addToFilters": true,
166
+ "fieldName": "topUsersLast30Days",
167
+ "fieldType": "URN",
168
+ "filterNameOverride": "Top users last 30 days",
169
+ "hasValuesFieldName": "hasTopUsersLast30Days"
170
+ }
171
+ },
163
172
  "type": [
164
173
  "null",
165
174
  {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: acryl-datahub-cloud
3
- Version: 0.3.12rc8
3
+ Version: 0.3.12rc9
4
4
  Requires-Dist: avro-gen3==0.7.16
5
5
  Requires-Dist: acryl-datahub
6
6
  Requires-Dist: croniter
@@ -8,90 +8,90 @@ Requires-Dist: pytz
8
8
  Requires-Dist: types-croniter
9
9
  Provides-Extra: datahub-lineage-features
10
10
  Requires-Dist: duckdb; extra == "datahub-lineage-features"
11
+ Requires-Dist: pydantic<2; extra == "datahub-lineage-features"
11
12
  Requires-Dist: pandas; extra == "datahub-lineage-features"
12
13
  Requires-Dist: pyarrow; extra == "datahub-lineage-features"
13
- Requires-Dist: pydantic<2; extra == "datahub-lineage-features"
14
14
  Requires-Dist: opensearch-py==2.4.2; extra == "datahub-lineage-features"
15
15
  Provides-Extra: datahub-reporting-forms
16
+ Requires-Dist: termcolor==2.5.0; extra == "datahub-reporting-forms"
16
17
  Requires-Dist: duckdb; extra == "datahub-reporting-forms"
18
+ Requires-Dist: pydantic<2; extra == "datahub-reporting-forms"
17
19
  Requires-Dist: pandas; extra == "datahub-reporting-forms"
18
- Requires-Dist: pyarrow; extra == "datahub-reporting-forms"
19
- Requires-Dist: termcolor==2.5.0; extra == "datahub-reporting-forms"
20
20
  Requires-Dist: boto3; extra == "datahub-reporting-forms"
21
- Requires-Dist: pydantic<2; extra == "datahub-reporting-forms"
21
+ Requires-Dist: pyarrow; extra == "datahub-reporting-forms"
22
22
  Provides-Extra: datahub-reporting-extract-graph
23
23
  Requires-Dist: duckdb; extra == "datahub-reporting-extract-graph"
24
+ Requires-Dist: pydantic<2; extra == "datahub-reporting-extract-graph"
24
25
  Requires-Dist: pandas; extra == "datahub-reporting-extract-graph"
25
- Requires-Dist: pyarrow; extra == "datahub-reporting-extract-graph"
26
26
  Requires-Dist: boto3; extra == "datahub-reporting-extract-graph"
27
- Requires-Dist: pydantic<2; extra == "datahub-reporting-extract-graph"
27
+ Requires-Dist: pyarrow; extra == "datahub-reporting-extract-graph"
28
28
  Requires-Dist: opensearch-py==2.4.2; extra == "datahub-reporting-extract-graph"
29
29
  Provides-Extra: datahub-reporting-extract-sql
30
30
  Requires-Dist: duckdb; extra == "datahub-reporting-extract-sql"
31
+ Requires-Dist: pydantic<2; extra == "datahub-reporting-extract-sql"
31
32
  Requires-Dist: pandas; extra == "datahub-reporting-extract-sql"
32
- Requires-Dist: pyarrow; extra == "datahub-reporting-extract-sql"
33
33
  Requires-Dist: boto3; extra == "datahub-reporting-extract-sql"
34
- Requires-Dist: pydantic<2; extra == "datahub-reporting-extract-sql"
34
+ Requires-Dist: pyarrow; extra == "datahub-reporting-extract-sql"
35
35
  Provides-Extra: datahub-usage-reporting
36
- Requires-Dist: polars==1.30.0; extra == "datahub-usage-reporting"
37
36
  Requires-Dist: termcolor==2.5.0; extra == "datahub-usage-reporting"
38
- Requires-Dist: pyarrow; extra == "datahub-usage-reporting"
39
- Requires-Dist: pydantic<2; extra == "datahub-usage-reporting"
40
- Requires-Dist: pyarrow<=18.0.0; extra == "datahub-usage-reporting"
41
- Requires-Dist: opensearch-py==2.4.2; extra == "datahub-usage-reporting"
37
+ Requires-Dist: scipy<=1.14.1; extra == "datahub-usage-reporting"
42
38
  Requires-Dist: elasticsearch==7.13.4; extra == "datahub-usage-reporting"
39
+ Requires-Dist: opensearch-py==2.4.2; extra == "datahub-usage-reporting"
43
40
  Requires-Dist: duckdb; extra == "datahub-usage-reporting"
41
+ Requires-Dist: pydantic<2; extra == "datahub-usage-reporting"
44
42
  Requires-Dist: pandas; extra == "datahub-usage-reporting"
45
43
  Requires-Dist: numpy<2; extra == "datahub-usage-reporting"
46
- Requires-Dist: scipy<=1.14.1; extra == "datahub-usage-reporting"
47
44
  Requires-Dist: boto3; extra == "datahub-usage-reporting"
45
+ Requires-Dist: pyarrow; extra == "datahub-usage-reporting"
46
+ Requires-Dist: polars==1.30.0; extra == "datahub-usage-reporting"
47
+ Requires-Dist: pyarrow<=18.0.0; extra == "datahub-usage-reporting"
48
48
  Provides-Extra: datahub-metadata-sharing
49
49
  Requires-Dist: tenacity; extra == "datahub-metadata-sharing"
50
50
  Provides-Extra: datahub-action-request-owner
51
51
  Requires-Dist: tenacity; extra == "datahub-action-request-owner"
52
52
  Provides-Extra: acryl-cs-issues
53
- Requires-Dist: zenpy; extra == "acryl-cs-issues"
54
- Requires-Dist: openai; extra == "acryl-cs-issues"
55
53
  Requires-Dist: jinja2; extra == "acryl-cs-issues"
54
+ Requires-Dist: zenpy; extra == "acryl-cs-issues"
56
55
  Requires-Dist: slack-sdk; extra == "acryl-cs-issues"
56
+ Requires-Dist: openai; extra == "acryl-cs-issues"
57
57
  Provides-Extra: datahub-forms-notifications
58
58
  Requires-Dist: tenacity; extra == "datahub-forms-notifications"
59
59
  Provides-Extra: all
60
+ Requires-Dist: scipy<=1.14.1; extra == "all"
61
+ Requires-Dist: slack-sdk; extra == "all"
62
+ Requires-Dist: boto3; extra == "all"
60
63
  Requires-Dist: polars==1.30.0; extra == "all"
61
- Requires-Dist: termcolor==2.5.0; extra == "all"
62
- Requires-Dist: zenpy; extra == "all"
63
64
  Requires-Dist: opensearch-py==2.4.2; extra == "all"
64
65
  Requires-Dist: pyarrow<=18.0.0; extra == "all"
65
- Requires-Dist: slack-sdk; extra == "all"
66
+ Requires-Dist: openai; extra == "all"
67
+ Requires-Dist: termcolor==2.5.0; extra == "all"
66
68
  Requires-Dist: elasticsearch==7.13.4; extra == "all"
69
+ Requires-Dist: jinja2; extra == "all"
70
+ Requires-Dist: tenacity; extra == "all"
67
71
  Requires-Dist: duckdb; extra == "all"
72
+ Requires-Dist: pydantic<2; extra == "all"
68
73
  Requires-Dist: pandas; extra == "all"
69
74
  Requires-Dist: numpy<2; extra == "all"
70
- Requires-Dist: scipy<=1.14.1; extra == "all"
71
- Requires-Dist: tenacity; extra == "all"
72
- Requires-Dist: openai; extra == "all"
75
+ Requires-Dist: zenpy; extra == "all"
73
76
  Requires-Dist: pyarrow; extra == "all"
74
- Requires-Dist: pydantic<2; extra == "all"
75
- Requires-Dist: jinja2; extra == "all"
76
- Requires-Dist: boto3; extra == "all"
77
77
  Provides-Extra: dev
78
- Requires-Dist: polars==1.30.0; extra == "dev"
79
- Requires-Dist: termcolor==2.5.0; extra == "dev"
80
- Requires-Dist: tenacity; extra == "dev"
81
78
  Requires-Dist: zenpy; extra == "dev"
82
- Requires-Dist: openai; extra == "dev"
83
- Requires-Dist: pyarrow; extra == "dev"
84
- Requires-Dist: pydantic<2; extra == "dev"
85
- Requires-Dist: opensearch-py==2.4.2; extra == "dev"
86
- Requires-Dist: pyarrow<=18.0.0; extra == "dev"
87
- Requires-Dist: jinja2; extra == "dev"
88
- Requires-Dist: elasticsearch==7.13.4; extra == "dev"
89
- Requires-Dist: slack-sdk; extra == "dev"
90
79
  Requires-Dist: acryl-datahub[dev]; extra == "dev"
80
+ Requires-Dist: termcolor==2.5.0; extra == "dev"
81
+ Requires-Dist: scipy<=1.14.1; extra == "dev"
82
+ Requires-Dist: elasticsearch==7.13.4; extra == "dev"
83
+ Requires-Dist: jinja2; extra == "dev"
84
+ Requires-Dist: tenacity; extra == "dev"
91
85
  Requires-Dist: duckdb; extra == "dev"
86
+ Requires-Dist: slack-sdk; extra == "dev"
87
+ Requires-Dist: pydantic<2; extra == "dev"
92
88
  Requires-Dist: pandas; extra == "dev"
93
89
  Requires-Dist: numpy<2; extra == "dev"
94
- Requires-Dist: scipy<=1.14.1; extra == "dev"
95
90
  Requires-Dist: boto3; extra == "dev"
91
+ Requires-Dist: pyarrow; extra == "dev"
92
+ Requires-Dist: polars==1.30.0; extra == "dev"
93
+ Requires-Dist: pyarrow<=18.0.0; extra == "dev"
94
+ Requires-Dist: opensearch-py==2.4.2; extra == "dev"
95
+ Requires-Dist: openai; extra == "dev"
96
96
  Dynamic: provides-extra
97
97
  Dynamic: requires-dist
@@ -1,5 +1,5 @@
1
1
  acryl_datahub_cloud/__init__.py,sha256=axrMXkn0RW80YmuZgwUP_YQImcv6L28duZLWnW-gaNM,521
2
- acryl_datahub_cloud/_codegen_config.json,sha256=u3uAQyDEsEvuTLj4O7IofdQ-xuPzEnuGeohHuuZqSwM,556
2
+ acryl_datahub_cloud/_codegen_config.json,sha256=YETggN_PMF5zDP0AA-QSXziCuDfqpZCvL-m1ttDFiow,556
3
3
  acryl_datahub_cloud/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  acryl_datahub_cloud/acryl_cs_issues/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  acryl_datahub_cloud/acryl_cs_issues/acryl_customer.py,sha256=uqYPmluXYdlgyq3C09gxIU5nEkKiqHoZ53h2oN5etj0,25227
@@ -26,7 +26,7 @@ acryl_datahub_cloud/datahub_metadata_sharing/scroll_shared_entities.gql,sha256=N
26
26
  acryl_datahub_cloud/datahub_metadata_sharing/share_entity.gql,sha256=tJ0VkAekRQCxZ3TkaC0nVqMHQoILqf2J6J-HfbSRL0U,286
27
27
  acryl_datahub_cloud/datahub_reporting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
28
  acryl_datahub_cloud/datahub_reporting/datahub_dataset.py,sha256=tDxWiXjZCpc5LcMF_ADb7eJbRZFSfa9Z0VS2408ekIo,19095
29
- acryl_datahub_cloud/datahub_reporting/datahub_form_reporting.py,sha256=ao70x2r-Nv-YhartMkvJ78bORPqzTs6lKwPI7IzokTw,22139
29
+ acryl_datahub_cloud/datahub_reporting/datahub_form_reporting.py,sha256=6Z-n7l0a9rddjGiISt6HMSKGgCx2Z_Asdb5MSclHjWU,22606
30
30
  acryl_datahub_cloud/datahub_reporting/extract_graph.py,sha256=n8DXMbGlAllWh5FcQ4bnUf3HYOiNYsSodWomigtmfWA,7896
31
31
  acryl_datahub_cloud/datahub_reporting/extract_sql.py,sha256=H5y3e35RuwXk23trhcCKsjFkStGlXZiYzdIYf0213Hw,9537
32
32
  acryl_datahub_cloud/datahub_reporting/forms.py,sha256=WUmJ3DLcKn4VcSplZFxmzdPrxQY2mYKqKc7hk8XZ9_Q,5939
@@ -44,7 +44,7 @@ acryl_datahub_cloud/elasticsearch/graph_service.py,sha256=K4ykcSMxlrhlDrchhte3vE
44
44
  acryl_datahub_cloud/lineage_features/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
45
  acryl_datahub_cloud/lineage_features/source.py,sha256=Edve1oBoR87RTloAfjAuxgULlMI_HNSFuQfbiVjkac4,6412
46
46
  acryl_datahub_cloud/metadata/__init__.py,sha256=AjhXPjI6cnpdcrBRrE5gOWo15vv2TTl2ctU4UAnUN7A,238
47
- acryl_datahub_cloud/metadata/schema.avsc,sha256=nSjU6EjFc4v6ycQANg7UkO4ztwUV9SR0RNiPDx8WjlM,1155751
47
+ acryl_datahub_cloud/metadata/schema.avsc,sha256=mXfE_yCTBNJ7V-Hq_lwj6xy-Ef0Imvter_Fpw11l5gY,1156047
48
48
  acryl_datahub_cloud/metadata/schema_classes.py,sha256=XrT0EQn0gO1-x2o-7OYet4RqwfeCPxagqH_bkIo7o58,1492667
49
49
  acryl_datahub_cloud/metadata/_urns/__init__.py,sha256=cOF3GHMDgPhmbLKbN02NPpuLGHSu0qNgQyBRv08eqF0,243
50
50
  acryl_datahub_cloud/metadata/_urns/urn_defs.py,sha256=GrTD3dMb9pdGg_Zpyq0VFufMsg6580Yg7SoU-Irtod8,163823
@@ -420,7 +420,7 @@ acryl_datahub_cloud/metadata/schemas/TestResults.avsc,sha256=_n0Cl0zd3yvtxVntU5q
420
420
  acryl_datahub_cloud/metadata/schemas/TrainingData.avsc,sha256=7p7sFBA_UyV5IbNU5qLgS3vVu70yevKCfJKSGmTzVTg,2069
421
421
  acryl_datahub_cloud/metadata/schemas/UpstreamLineage.avsc,sha256=iaeFRbL2aVSYFwj-HQHyfIVaHRrK3kLbkkLXgIfJTsk,10639
422
422
  acryl_datahub_cloud/metadata/schemas/UsageAggregation.avsc,sha256=QaF6lyWGUq8IlRel2h4qIXOXCMxBhrwjoaUELsd-I6g,4538
423
- acryl_datahub_cloud/metadata/schemas/UsageFeatures.avsc,sha256=B7mqUWVwduvWSP9zpVwlPCVG_X68SNcQovaivnUfkAE,6512
423
+ acryl_datahub_cloud/metadata/schemas/UsageFeatures.avsc,sha256=hSUBdXc_wkuXIr8ziJCiRRjCg0k1CAQUqN7B9sP66yo,6790
424
424
  acryl_datahub_cloud/metadata/schemas/VersionInfo.avsc,sha256=9gMcZ8tjuhgcZiq2gOAp_EOV9q9jvuOgfph6m6v_X7c,1189
425
425
  acryl_datahub_cloud/metadata/schemas/VersionProperties.avsc,sha256=hT4BS3rSZYfJpjzv1rYzJJQjU_r_PP3h-3GSrSObf38,8089
426
426
  acryl_datahub_cloud/metadata/schemas/VersionSetKey.avsc,sha256=psjGNNcFua3Zs9Xlh4HnUHNmBEU74uYdJR5g20NhRJU,659
@@ -448,8 +448,8 @@ acryl_datahub_cloud/sdk/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
448
448
  acryl_datahub_cloud/sdk/entities/assertion.py,sha256=-OILvHyKAI4-5mS2bb_P44Fvk6rBOOcvaxSMXfEYvRw,15077
449
449
  acryl_datahub_cloud/sdk/entities/monitor.py,sha256=NMrhJrWYNPvorxA33S_5FOl8YCtSmmeAavTzFLtWcOo,9665
450
450
  acryl_datahub_cloud/sdk/entities/subscription.py,sha256=WbDZqjE4QCMBh1_0culwN5btcUPoFuUReRYMJU3uYas,2332
451
- acryl_datahub_cloud-0.3.12rc8.dist-info/METADATA,sha256=C5Ch9ThCEcfXo1dn8V3bdDrWJWI8BrnFxUF4LoNITjc,4723
452
- acryl_datahub_cloud-0.3.12rc8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
453
- acryl_datahub_cloud-0.3.12rc8.dist-info/entry_points.txt,sha256=veuyIaEzm7JF2q-C8Q-RcSV6V5Y9LvnVvIhTjiT5WUs,1342
454
- acryl_datahub_cloud-0.3.12rc8.dist-info/top_level.txt,sha256=EwgCxfX-DzJANwxj-Mx_j4TOfAFhmc_FgMbRPzWsoZs,20
455
- acryl_datahub_cloud-0.3.12rc8.dist-info/RECORD,,
451
+ acryl_datahub_cloud-0.3.12rc9.dist-info/METADATA,sha256=NepaS0D72UqmXi5JXfVOw7ZLYtUZwmyJIO-UjLPaeSg,4723
452
+ acryl_datahub_cloud-0.3.12rc9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
453
+ acryl_datahub_cloud-0.3.12rc9.dist-info/entry_points.txt,sha256=veuyIaEzm7JF2q-C8Q-RcSV6V5Y9LvnVvIhTjiT5WUs,1342
454
+ acryl_datahub_cloud-0.3.12rc9.dist-info/top_level.txt,sha256=EwgCxfX-DzJANwxj-Mx_j4TOfAFhmc_FgMbRPzWsoZs,20
455
+ acryl_datahub_cloud-0.3.12rc9.dist-info/RECORD,,