airbyte-cdk 6.7.1rc1__py3-none-any.whl → 6.7.1rc2__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.
- airbyte_cdk/sources/streams/http/http_client.py +3 -1
- {airbyte_cdk-6.7.1rc1.dist-info → airbyte_cdk-6.7.1rc2.dist-info}/METADATA +1 -1
- {airbyte_cdk-6.7.1rc1.dist-info → airbyte_cdk-6.7.1rc2.dist-info}/RECORD +6 -6
- {airbyte_cdk-6.7.1rc1.dist-info → airbyte_cdk-6.7.1rc2.dist-info}/LICENSE.txt +0 -0
- {airbyte_cdk-6.7.1rc1.dist-info → airbyte_cdk-6.7.1rc2.dist-info}/WHEEL +0 -0
- {airbyte_cdk-6.7.1rc1.dist-info → airbyte_cdk-6.7.1rc2.dist-info}/entry_points.txt +0 -0
@@ -43,6 +43,7 @@ from airbyte_cdk.sources.streams.http.rate_limiting import (
|
|
43
43
|
rate_limit_default_backoff_handler,
|
44
44
|
user_defined_backoff_handler,
|
45
45
|
)
|
46
|
+
from airbyte_cdk.utils.airbyte_secrets_utils import filter_secrets
|
46
47
|
from airbyte_cdk.utils.constants import ENV_REQUEST_CACHE_PATH
|
47
48
|
from airbyte_cdk.utils.stream_status_utils import (
|
48
49
|
as_airbyte_message as stream_status_as_airbyte_message,
|
@@ -367,12 +368,13 @@ class HttpClient:
|
|
367
368
|
|
368
369
|
if error_resolution.response_action == ResponseAction.FAIL:
|
369
370
|
if response is not None:
|
370
|
-
error_message = f"'{request.method}' request to '{request.url}' failed with status code '{response.status_code}' and error message '{
|
371
|
+
error_message = f"'{request.method}' request to '{request.url}' failed with status code '{response.status_code}' and error message '{response.content}'"
|
371
372
|
else:
|
372
373
|
error_message = (
|
373
374
|
f"'{request.method}' request to '{request.url}' failed with exception: '{exc}'"
|
374
375
|
)
|
375
376
|
|
377
|
+
self._logger.warning(filter_secrets(error_message))
|
376
378
|
raise MessageRepresentationAirbyteTracedErrors(
|
377
379
|
internal_message=error_message,
|
378
380
|
message=error_resolution.error_message or error_message,
|
@@ -274,7 +274,7 @@ airbyte_cdk/sources/streams/http/error_handlers/json_error_message_parser.py,sha
|
|
274
274
|
airbyte_cdk/sources/streams/http/error_handlers/response_models.py,sha256=7AX6sm8hMfVtcZuUrCmGmNFsO5rDK9Ecg2Kzl6rQwrk,2235
|
275
275
|
airbyte_cdk/sources/streams/http/exceptions.py,sha256=njC7MlMJoFYcSGz4mIp6-bqLFTr6vC8ej25X0oSeyjE,1824
|
276
276
|
airbyte_cdk/sources/streams/http/http.py,sha256=XoUvIClYO96datz_lBPBBY6uWmCja2mUk_yERdjskQo,28466
|
277
|
-
airbyte_cdk/sources/streams/http/http_client.py,sha256=
|
277
|
+
airbyte_cdk/sources/streams/http/http_client.py,sha256=heaafKLEpKqTFmSYCdJaw8_2A5WOHNCXVrdiGvIIwJI,19381
|
278
278
|
airbyte_cdk/sources/streams/http/rate_limiting.py,sha256=IwdjrHKUnU97XO4qONgYRv4YYW51xQ8SJm4WLafXDB8,6351
|
279
279
|
airbyte_cdk/sources/streams/http/requests_native_auth/__init__.py,sha256=RN0D3nOX1xLgwEwKWu6pkGy3XqBFzKSNZ8Lf6umU2eY,413
|
280
280
|
airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py,sha256=r6KvG6V-bzhnCGwLqnxngrjGM0UrvD1dRo8knatuAH0,10320
|
@@ -331,8 +331,8 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EemcgcQlI8-LPYOPlYv4Qkdjyho79XVLWaUHF5X
|
|
331
331
|
airbyte_cdk/utils/spec_schema_transformations.py,sha256=LVc9KbtMeV_z99jWo0Ou8u4l6eBJ0BWNhxj4zrrGKRs,763
|
332
332
|
airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
|
333
333
|
airbyte_cdk/utils/traced_exception.py,sha256=89TQdFuYZ1NJgmFpqLzY_T_T_64TpJYmVqs119Bp43g,6164
|
334
|
-
airbyte_cdk-6.7.
|
335
|
-
airbyte_cdk-6.7.
|
336
|
-
airbyte_cdk-6.7.
|
337
|
-
airbyte_cdk-6.7.
|
338
|
-
airbyte_cdk-6.7.
|
334
|
+
airbyte_cdk-6.7.1rc2.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
|
335
|
+
airbyte_cdk-6.7.1rc2.dist-info/METADATA,sha256=uOnPh6j5iMbzUvJhMgh8V25Qd3mBq0EPemzTDWV2cgY,13345
|
336
|
+
airbyte_cdk-6.7.1rc2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
337
|
+
airbyte_cdk-6.7.1rc2.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
|
338
|
+
airbyte_cdk-6.7.1rc2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|