acryl-datahub 0.15.0.1rc10__py3-none-any.whl → 0.15.0.1rc11__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-0.15.0.1rc10.dist-info → acryl_datahub-0.15.0.1rc11.dist-info}/METADATA +2499 -2499
- {acryl_datahub-0.15.0.1rc10.dist-info → acryl_datahub-0.15.0.1rc11.dist-info}/RECORD +7 -7
- datahub/__init__.py +1 -1
- datahub/ingestion/source/tableau/tableau.py +13 -2
- {acryl_datahub-0.15.0.1rc10.dist-info → acryl_datahub-0.15.0.1rc11.dist-info}/WHEEL +0 -0
- {acryl_datahub-0.15.0.1rc10.dist-info → acryl_datahub-0.15.0.1rc11.dist-info}/entry_points.txt +0 -0
- {acryl_datahub-0.15.0.1rc10.dist-info → acryl_datahub-0.15.0.1rc11.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
datahub/__init__.py,sha256=
|
|
1
|
+
datahub/__init__.py,sha256=Jz7rOAS6YmpfTiD-EFzoeXEIAehGfC59afdTNfvT33s,577
|
|
2
2
|
datahub/__main__.py,sha256=pegIvQ9hzK7IhqVeUi1MeADSZ2QlP-D3K0OQdEg55RU,106
|
|
3
3
|
datahub/entrypoints.py,sha256=3-qSfXAx3Z0FEkBV5tlO8fQr4xk4ySeDRMVTpS5Xd6A,7793
|
|
4
4
|
datahub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -491,7 +491,7 @@ datahub/ingestion/source/state_provider/datahub_ingestion_checkpointing_provider
|
|
|
491
491
|
datahub/ingestion/source/state_provider/file_ingestion_checkpointing_provider.py,sha256=xsH7Ao_05VTjqpkzLkhdf5B1ULMzFoD8vkJJIJU9w-U,4077
|
|
492
492
|
datahub/ingestion/source/state_provider/state_provider_registry.py,sha256=SVq4mIyGNmLXE9OZx1taOiNPqDoQp03-Ot9rYnB5F3k,401
|
|
493
493
|
datahub/ingestion/source/tableau/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
494
|
-
datahub/ingestion/source/tableau/tableau.py,sha256=
|
|
494
|
+
datahub/ingestion/source/tableau/tableau.py,sha256=Z_x3aeHPi0mq1cKY1tOzQakPLE0bX40I14iuFwAOmU8,140093
|
|
495
495
|
datahub/ingestion/source/tableau/tableau_common.py,sha256=9gQLq_3BlAsKll83uVlnWJRWaIDtFtREUyuimXF13Z0,26219
|
|
496
496
|
datahub/ingestion/source/tableau/tableau_constant.py,sha256=ZcAeHsQUXVVL26ORly0ByZk_GJAFbxaKuJAlX_sYMac,2686
|
|
497
497
|
datahub/ingestion/source/tableau/tableau_server_wrapper.py,sha256=nSyx9RzC6TCQDm-cTVJ657qT8iDwzk_8JMKpohhmOc4,1046
|
|
@@ -982,8 +982,8 @@ datahub_provider/operators/datahub_assertion_operator.py,sha256=uvTQ-jk2F0sbqqxp
|
|
|
982
982
|
datahub_provider/operators/datahub_assertion_sensor.py,sha256=lCBj_3x1cf5GMNpHdfkpHuyHfVxsm6ff5x2Z5iizcAo,140
|
|
983
983
|
datahub_provider/operators/datahub_operation_operator.py,sha256=aevDp2FzX7FxGlXrR0khoHNbxbhKR2qPEX5e8O2Jyzw,174
|
|
984
984
|
datahub_provider/operators/datahub_operation_sensor.py,sha256=8fcdVBCEPgqy1etTXgLoiHoJrRt_nzFZQMdSzHqSG7M,168
|
|
985
|
-
acryl_datahub-0.15.0.
|
|
986
|
-
acryl_datahub-0.15.0.
|
|
987
|
-
acryl_datahub-0.15.0.
|
|
988
|
-
acryl_datahub-0.15.0.
|
|
989
|
-
acryl_datahub-0.15.0.
|
|
985
|
+
acryl_datahub-0.15.0.1rc11.dist-info/METADATA,sha256=PHoYjaieZmYEqeCLCRvjDKfPAMOtdDmUc98nFYjASOY,173645
|
|
986
|
+
acryl_datahub-0.15.0.1rc11.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
987
|
+
acryl_datahub-0.15.0.1rc11.dist-info/entry_points.txt,sha256=xnPSPLK3bJGADxe4TDS4wL4u0FT_PGlahDa-ENYdYCQ,9512
|
|
988
|
+
acryl_datahub-0.15.0.1rc11.dist-info/top_level.txt,sha256=iLjSrLK5ox1YVYcglRUkcvfZPvKlobBWx7CTUXx8_GI,25
|
|
989
|
+
acryl_datahub-0.15.0.1rc11.dist-info/RECORD,,
|
datahub/__init__.py
CHANGED
|
@@ -186,6 +186,15 @@ try:
|
|
|
186
186
|
except ImportError:
|
|
187
187
|
REAUTHENTICATE_ERRORS = (NonXMLResponseError,)
|
|
188
188
|
|
|
189
|
+
RETRIABLE_ERROR_CODES = [
|
|
190
|
+
408, # Request Timeout
|
|
191
|
+
429, # Too Many Requests
|
|
192
|
+
500, # Internal Server Error
|
|
193
|
+
502, # Bad Gateway
|
|
194
|
+
503, # Service Unavailable
|
|
195
|
+
504, # Gateway Timeout
|
|
196
|
+
]
|
|
197
|
+
|
|
189
198
|
logger: logging.Logger = logging.getLogger(__name__)
|
|
190
199
|
|
|
191
200
|
# Replace / with |
|
|
@@ -287,7 +296,7 @@ class TableauConnectionConfig(ConfigModel):
|
|
|
287
296
|
max_retries=Retry(
|
|
288
297
|
total=self.max_retries,
|
|
289
298
|
backoff_factor=1,
|
|
290
|
-
status_forcelist=
|
|
299
|
+
status_forcelist=RETRIABLE_ERROR_CODES,
|
|
291
300
|
)
|
|
292
301
|
)
|
|
293
302
|
server._session.mount("http://", adapter)
|
|
@@ -1212,9 +1221,11 @@ class TableauSiteSource:
|
|
|
1212
1221
|
|
|
1213
1222
|
except InternalServerError as ise:
|
|
1214
1223
|
# In some cases Tableau Server returns 504 error, which is a timeout error, so it worths to retry.
|
|
1215
|
-
|
|
1224
|
+
# Extended with other retryable errors.
|
|
1225
|
+
if ise.code in RETRIABLE_ERROR_CODES:
|
|
1216
1226
|
if retries_remaining <= 0:
|
|
1217
1227
|
raise ise
|
|
1228
|
+
logger.info(f"Retrying query due to error {ise.code}")
|
|
1218
1229
|
return self.get_connection_object_page(
|
|
1219
1230
|
query=query,
|
|
1220
1231
|
connection_type=connection_type,
|
|
File without changes
|
{acryl_datahub-0.15.0.1rc10.dist-info → acryl_datahub-0.15.0.1rc11.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|