acryl-datahub 15.0.4__py3-none-any.whl → 15.0.5rc1__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.
- acryl_datahub-15.0.5rc1.dist-info/LICENSE +202 -0
- {acryl_datahub-15.0.4.dist-info → acryl_datahub-15.0.5rc1.dist-info}/METADATA +2367 -2364
- {acryl_datahub-15.0.4.dist-info → acryl_datahub-15.0.5rc1.dist-info}/RECORD +12 -11
- datahub/__init__.py +1 -1
- datahub/ingestion/api/registry.py +3 -1
- datahub/ingestion/source/slack/slack.py +6 -0
- datahub/metadata/_schema_classes.py +401 -401
- datahub/metadata/_urns/urn_defs.py +1631 -1631
- datahub/metadata/schema.avsc +16624 -16266
- {acryl_datahub-15.0.4.dist-info → acryl_datahub-15.0.5rc1.dist-info}/WHEEL +0 -0
- {acryl_datahub-15.0.4.dist-info → acryl_datahub-15.0.5rc1.dist-info}/entry_points.txt +0 -0
- {acryl_datahub-15.0.4.dist-info → acryl_datahub-15.0.5rc1.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
datahub/__init__.py,sha256=
|
|
1
|
+
datahub/__init__.py,sha256=fTVQHwbKuJJs29V03kFy0NYkOzGUgyMgrGglvDF9GaM,574
|
|
2
2
|
datahub/__main__.py,sha256=pegIvQ9hzK7IhqVeUi1MeADSZ2QlP-D3K0OQdEg55RU,106
|
|
3
3
|
datahub/entrypoints.py,sha256=vbkUx_jVIkr_V4wtoQhOpledna-pD_tco1mloRnb7QY,8029
|
|
4
4
|
datahub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -135,7 +135,7 @@ datahub/ingestion/api/incremental_lineage_helper.py,sha256=JTmJvXzzwI04oTUTIeTKK
|
|
|
135
135
|
datahub/ingestion/api/incremental_properties_helper.py,sha256=KzdxdrQtaMV2XMHfPsCtRa7ffDGPA1w1hgPUjeenZBU,2514
|
|
136
136
|
datahub/ingestion/api/ingestion_job_checkpointing_provider_base.py,sha256=3lLdkkxVqE9MVc26cdXImPeWy16az5BwgcorWxeBV50,1759
|
|
137
137
|
datahub/ingestion/api/pipeline_run_listener.py,sha256=5uBP__LbMQxJ2utlf07cIzQINqPbUOKiZyOJta6a0og,713
|
|
138
|
-
datahub/ingestion/api/registry.py,sha256=
|
|
138
|
+
datahub/ingestion/api/registry.py,sha256=nigH50Qzz-imLrfapsuGjbjdUphGzwjT_5jUoQUlt9I,7445
|
|
139
139
|
datahub/ingestion/api/report.py,sha256=eM_TWWz6iJNd-c_S2_4eg2qKLGYP8vSROb_TMiCwBhY,4644
|
|
140
140
|
datahub/ingestion/api/report_helpers.py,sha256=WbUC1kQeaKqIagGV3XzfPmPs7slAT1mfNY4og2BH2A8,994
|
|
141
141
|
datahub/ingestion/api/sink.py,sha256=nfal7nsYY1AT2WQRjqO48uAHitpjax7TsRVzYXnqbeM,4918
|
|
@@ -424,7 +424,7 @@ datahub/ingestion/source/sigma/data_classes.py,sha256=YZkkzwftV34mq5c_4jlC2PCSiR
|
|
|
424
424
|
datahub/ingestion/source/sigma/sigma.py,sha256=T-zAgbEw83JSu_4j1gCYibSCaRLXjY3Kt6HdYPEZAFA,24096
|
|
425
425
|
datahub/ingestion/source/sigma/sigma_api.py,sha256=SVvbUs2vjueUdDa-3FzeMsaX5pNpApVI192P7EZzPcI,17870
|
|
426
426
|
datahub/ingestion/source/slack/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
427
|
-
datahub/ingestion/source/slack/slack.py,sha256=
|
|
427
|
+
datahub/ingestion/source/slack/slack.py,sha256=VpLS-6zuQa8hIuHnZhLf8wRdN72Xell3ZMd0kK3A0i8,13188
|
|
428
428
|
datahub/ingestion/source/snowflake/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
429
429
|
datahub/ingestion/source/snowflake/constants.py,sha256=22n-0r04nuy-ImxWFFpmbrt_GrNdxV9WZKri7rmtrpQ,2628
|
|
430
430
|
datahub/ingestion/source/snowflake/oauth_config.py,sha256=ol9D3RmruGStJAeL8PYSQguSqcD2HfkjPkMF2AB_eZs,1277
|
|
@@ -567,12 +567,12 @@ datahub/lite/lite_registry.py,sha256=bpH0kasP-LtwwUFNA2QsOIehfekAYfJtN-AkQLmSWnw
|
|
|
567
567
|
datahub/lite/lite_server.py,sha256=p9Oa2nNs65mqcssSIVOr7VOzWqfVstz6ZQEdT4f82S0,1949
|
|
568
568
|
datahub/lite/lite_util.py,sha256=pgBpT3vTO1YCQ2njZRNyicSkHYeEmQCt41BaXU8WvMo,4503
|
|
569
569
|
datahub/metadata/__init__.py,sha256=AjhXPjI6cnpdcrBRrE5gOWo15vv2TTl2ctU4UAnUN7A,238
|
|
570
|
-
datahub/metadata/_schema_classes.py,sha256=
|
|
571
|
-
datahub/metadata/schema.avsc,sha256=
|
|
570
|
+
datahub/metadata/_schema_classes.py,sha256=GMLN7Ov0m39EWaXlziVgINqxhihZDzNy2BztBIR9YM8,975061
|
|
571
|
+
datahub/metadata/schema.avsc,sha256=sAPtgHSNJ1a126Vz7OjVIMKFjrrIG9f4cvRH6SkJ0jc,640786
|
|
572
572
|
datahub/metadata/schema_classes.py,sha256=X5Jl5EaSxyHdXOQv14pJ5WkQALun4MRpJ4q12wVFE18,1299
|
|
573
573
|
datahub/metadata/urns.py,sha256=nfrCTExR-k2P9w272WVtWSN3xW1VUJngPwP3xnvULjU,1217
|
|
574
574
|
datahub/metadata/_urns/__init__.py,sha256=cOF3GHMDgPhmbLKbN02NPpuLGHSu0qNgQyBRv08eqF0,243
|
|
575
|
-
datahub/metadata/_urns/urn_defs.py,sha256=
|
|
575
|
+
datahub/metadata/_urns/urn_defs.py,sha256=SoCD7TNdGcPKI9vD8ZXLZzxggJTHtvRe4Jgaj_Mm2x8,132110
|
|
576
576
|
datahub/metadata/com/__init__.py,sha256=gsAIuTxzfJdI7a9ybZlgMIHMAYksM1SxGxXjtySgKSc,202
|
|
577
577
|
datahub/metadata/com/linkedin/__init__.py,sha256=gsAIuTxzfJdI7a9ybZlgMIHMAYksM1SxGxXjtySgKSc,202
|
|
578
578
|
datahub/metadata/com/linkedin/events/__init__.py,sha256=s_dR0plZF-rOxxIbE8ojekJqwiHzl2WYR-Z3kW6kKS0,298
|
|
@@ -992,8 +992,9 @@ datahub_provider/operators/datahub_assertion_operator.py,sha256=uvTQ-jk2F0sbqqxp
|
|
|
992
992
|
datahub_provider/operators/datahub_assertion_sensor.py,sha256=lCBj_3x1cf5GMNpHdfkpHuyHfVxsm6ff5x2Z5iizcAo,140
|
|
993
993
|
datahub_provider/operators/datahub_operation_operator.py,sha256=aevDp2FzX7FxGlXrR0khoHNbxbhKR2qPEX5e8O2Jyzw,174
|
|
994
994
|
datahub_provider/operators/datahub_operation_sensor.py,sha256=8fcdVBCEPgqy1etTXgLoiHoJrRt_nzFZQMdSzHqSG7M,168
|
|
995
|
-
acryl_datahub-15.0.
|
|
996
|
-
acryl_datahub-15.0.
|
|
997
|
-
acryl_datahub-15.0.
|
|
998
|
-
acryl_datahub-15.0.
|
|
999
|
-
acryl_datahub-15.0.
|
|
995
|
+
acryl_datahub-15.0.5rc1.dist-info/LICENSE,sha256=9xNHpsD0uYF5ONzXsKDCuHHB-xbiCrSbueWXqrTNsxk,11365
|
|
996
|
+
acryl_datahub-15.0.5rc1.dist-info/METADATA,sha256=-37OrBvzgLlvl5yDk8tAeVZXMljHFh22PrhfnbGJkzY,173376
|
|
997
|
+
acryl_datahub-15.0.5rc1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
998
|
+
acryl_datahub-15.0.5rc1.dist-info/entry_points.txt,sha256=xnPSPLK3bJGADxe4TDS4wL4u0FT_PGlahDa-ENYdYCQ,9512
|
|
999
|
+
acryl_datahub-15.0.5rc1.dist-info/top_level.txt,sha256=iLjSrLK5ox1YVYcglRUkcvfZPvKlobBWx7CTUXx8_GI,25
|
|
1000
|
+
acryl_datahub-15.0.5rc1.dist-info/RECORD,,
|
datahub/__init__.py
CHANGED
|
@@ -173,8 +173,10 @@ class PluginRegistry(Generic[T]):
|
|
|
173
173
|
|
|
174
174
|
tp = self._ensure_not_lazy(key)
|
|
175
175
|
if isinstance(tp, ModuleNotFoundError):
|
|
176
|
+
# TODO: Once we're on Python 3.11 (with PEP 678), we can use .add_note()
|
|
177
|
+
# to enrich the error instead of wrapping it.
|
|
176
178
|
raise ConfigurationError(
|
|
177
|
-
f"{key} is disabled; try running
|
|
179
|
+
f"{key} is disabled due to a missing dependency: {tp.name}; try running `pip install '{__package_name__}[{key}]'`"
|
|
178
180
|
) from tp
|
|
179
181
|
elif isinstance(tp, Exception):
|
|
180
182
|
raise ConfigurationError(
|
|
@@ -5,6 +5,8 @@ from typing import Iterable, List, Optional, Tuple
|
|
|
5
5
|
|
|
6
6
|
from pydantic import Field, SecretStr
|
|
7
7
|
from slack_sdk import WebClient
|
|
8
|
+
from tenacity import retry, wait_exponential
|
|
9
|
+
from tenacity.before_sleep import before_sleep_log
|
|
8
10
|
|
|
9
11
|
import datahub.emitter.mce_builder as builder
|
|
10
12
|
from datahub.configuration.common import ConfigModel
|
|
@@ -294,6 +296,10 @@ class SlackSource(Source):
|
|
|
294
296
|
return
|
|
295
297
|
raise e
|
|
296
298
|
|
|
299
|
+
@retry(
|
|
300
|
+
wait=wait_exponential(multiplier=2, min=4, max=60),
|
|
301
|
+
before_sleep=before_sleep_log(logger, logging.ERROR, True),
|
|
302
|
+
)
|
|
297
303
|
def get_user_to_be_updated(self) -> Iterable[CorpUser]:
|
|
298
304
|
graphql_query = textwrap.dedent(
|
|
299
305
|
"""
|