acryl-datahub 1.0.0.4rc3__py3-none-any.whl → 1.0.0.4rc4__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.

@@ -1,7 +1,7 @@
1
- acryl_datahub-1.0.0.4rc3.dist-info/licenses/LICENSE,sha256=9xNHpsD0uYF5ONzXsKDCuHHB-xbiCrSbueWXqrTNsxk,11365
1
+ acryl_datahub-1.0.0.4rc4.dist-info/licenses/LICENSE,sha256=9xNHpsD0uYF5ONzXsKDCuHHB-xbiCrSbueWXqrTNsxk,11365
2
2
  datahub/__init__.py,sha256=aq_i5lVREmoLfYIqcx_pEQicO855YlhD19tWc1eZZNI,59
3
3
  datahub/__main__.py,sha256=pegIvQ9hzK7IhqVeUi1MeADSZ2QlP-D3K0OQdEg55RU,106
4
- datahub/_version.py,sha256=s9GagN9LnstD0j2tgPma0WgwFBeEF2rYkuJB2EEtcJY,323
4
+ datahub/_version.py,sha256=Q1rU-86yL6jgM25Eq771ReIWJpvPT5TaaKuYGIQnMKw,323
5
5
  datahub/entrypoints.py,sha256=AQN5MzCe6q3LKI4SS6WmwN56kgjF6AC1ld7yELWVP2w,8953
6
6
  datahub/errors.py,sha256=p5rFAdAGVCk4Lqolol1YvthceadUSwpaCxLXRcyCCFQ,676
7
7
  datahub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -207,7 +207,7 @@ datahub/ingestion/source/glue_profiling_config.py,sha256=vpMJH4Lf_qgR32BZy58suab
207
207
  datahub/ingestion/source/ldap.py,sha256=PKoA5pVjuIxFfW1TcbYNIWSm7-C7shK2FDn7Zo5mrVM,18705
208
208
  datahub/ingestion/source/metabase.py,sha256=j8DRV2GvisezidL1JZ5HJLF_hdFdtvaoyDoEdEyh0Ks,32603
209
209
  datahub/ingestion/source/mlflow.py,sha256=fh7izN9jlSwbpGIrEyJktlmwFZR5vNG9z9L5VQ31k_4,33141
210
- datahub/ingestion/source/mode.py,sha256=uOm6Hk-3ybAYkL7qRKWbrp9P78KjrpOXUGCOgyoPg8g,66309
210
+ datahub/ingestion/source/mode.py,sha256=Hs_qi-ntsuW_DIJ2wvMsFjir6P_QkRo4mq5Ldk7c1iU,66709
211
211
  datahub/ingestion/source/mongodb.py,sha256=2C2Cxn8DXL53IbNiywIuKt8UT_EMcPg9f8su-OPSNGU,21237
212
212
  datahub/ingestion/source/nifi.py,sha256=D1gBXxdpLuUQ0eurwofIR_SGg1rHGhwk3qxsWI1PT9c,56882
213
213
  datahub/ingestion/source/openapi.py,sha256=zx976zstg6M2KoTz_iKKgU9VETDeX2rnw6BofiHXbDc,18669
@@ -1053,8 +1053,8 @@ datahub_provider/operators/datahub_assertion_operator.py,sha256=uvTQ-jk2F0sbqqxp
1053
1053
  datahub_provider/operators/datahub_assertion_sensor.py,sha256=lCBj_3x1cf5GMNpHdfkpHuyHfVxsm6ff5x2Z5iizcAo,140
1054
1054
  datahub_provider/operators/datahub_operation_operator.py,sha256=aevDp2FzX7FxGlXrR0khoHNbxbhKR2qPEX5e8O2Jyzw,174
1055
1055
  datahub_provider/operators/datahub_operation_sensor.py,sha256=8fcdVBCEPgqy1etTXgLoiHoJrRt_nzFZQMdSzHqSG7M,168
1056
- acryl_datahub-1.0.0.4rc3.dist-info/METADATA,sha256=QpiKmTUaWMGnd69dnDEHug3N-2SHZdTa1LzKxcIDnf4,179949
1057
- acryl_datahub-1.0.0.4rc3.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
1058
- acryl_datahub-1.0.0.4rc3.dist-info/entry_points.txt,sha256=o3mDeJXSKhsy7XLkuogihraiabBdLn9HaizYXPrxmk0,9710
1059
- acryl_datahub-1.0.0.4rc3.dist-info/top_level.txt,sha256=iLjSrLK5ox1YVYcglRUkcvfZPvKlobBWx7CTUXx8_GI,25
1060
- acryl_datahub-1.0.0.4rc3.dist-info/RECORD,,
1056
+ acryl_datahub-1.0.0.4rc4.dist-info/METADATA,sha256=QgnZNeie87ezNJ6XrB7jiQdqlbY3N8dj6bqeAp2o3_s,179949
1057
+ acryl_datahub-1.0.0.4rc4.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
1058
+ acryl_datahub-1.0.0.4rc4.dist-info/entry_points.txt,sha256=o3mDeJXSKhsy7XLkuogihraiabBdLn9HaizYXPrxmk0,9710
1059
+ acryl_datahub-1.0.0.4rc4.dist-info/top_level.txt,sha256=iLjSrLK5ox1YVYcglRUkcvfZPvKlobBWx7CTUXx8_GI,25
1060
+ acryl_datahub-1.0.0.4rc4.dist-info/RECORD,,
datahub/_version.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # Published at https://pypi.org/project/acryl-datahub/.
2
2
  __package_name__ = "acryl-datahub"
3
- __version__ = "1.0.0.4rc3"
3
+ __version__ = "1.0.0.4rc4"
4
4
 
5
5
 
6
6
  def is_dev_mode() -> bool:
@@ -1457,11 +1457,18 @@ class ModeSource(StatefulIngestionSourceBase):
1457
1457
  )
1458
1458
  queries = queries_json.get("_embedded", {}).get("queries", {})
1459
1459
  except ModeRequestError as e:
1460
- self.report.report_failure(
1461
- title="Failed to Retrieve Queries",
1462
- message="Unable to retrieve queries for report token.",
1463
- context=f"Report Token: {report_token}, Error: {str(e)}",
1464
- )
1460
+ if isinstance(e, HTTPError) and e.response.status_code == 404:
1461
+ self.report.report_warning(
1462
+ title="No Queries Found",
1463
+ message="No queries found for the report token. Maybe the report is deleted...",
1464
+ context=f"Report Token: {report_token}, Error: {str(e)}",
1465
+ )
1466
+ else:
1467
+ self.report.report_failure(
1468
+ title="Failed to Retrieve Queries",
1469
+ message="Unable to retrieve queries for report token.",
1470
+ context=f"Report Token: {report_token}, Error: {str(e)}",
1471
+ )
1465
1472
  return queries
1466
1473
 
1467
1474
  @lru_cache(maxsize=None)