airbyte-cdk 7.1.0__py3-none-any.whl → 7.1.0.post4.dev17948197380__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/declarative/resolvers/config_components_resolver.py +5 -1
- airbyte_cdk/sources/streams/http/http_client.py +9 -0
- {airbyte_cdk-7.1.0.dist-info → airbyte_cdk-7.1.0.post4.dev17948197380.dist-info}/METADATA +1 -1
- {airbyte_cdk-7.1.0.dist-info → airbyte_cdk-7.1.0.post4.dev17948197380.dist-info}/RECORD +8 -8
- {airbyte_cdk-7.1.0.dist-info → airbyte_cdk-7.1.0.post4.dev17948197380.dist-info}/LICENSE.txt +0 -0
- {airbyte_cdk-7.1.0.dist-info → airbyte_cdk-7.1.0.post4.dev17948197380.dist-info}/LICENSE_SHORT +0 -0
- {airbyte_cdk-7.1.0.dist-info → airbyte_cdk-7.1.0.post4.dev17948197380.dist-info}/WHEEL +0 -0
- {airbyte_cdk-7.1.0.dist-info → airbyte_cdk-7.1.0.post4.dev17948197380.dist-info}/entry_points.txt +0 -0
@@ -177,7 +177,11 @@ class ConfigComponentsResolver(ComponentsResolver):
|
|
177
177
|
)
|
178
178
|
|
179
179
|
path = [path.eval(self.config, **kwargs) for path in resolved_component.field_path]
|
180
|
-
|
180
|
+
# Avoid parsing strings that are meant to be strings
|
181
|
+
if not (isinstance(value, str) and valid_types == (str,)):
|
182
|
+
parsed_value = self._parse_yaml_if_possible(value)
|
183
|
+
else:
|
184
|
+
parsed_value = value
|
181
185
|
updated = dpath.set(updated_config, path, parsed_value)
|
182
186
|
|
183
187
|
if parsed_value and not updated and resolved_component.create_or_update:
|
@@ -560,6 +560,15 @@ class HttpClient:
|
|
560
560
|
data=data,
|
561
561
|
)
|
562
562
|
|
563
|
+
env_settings = self._session.merge_environment_settings(
|
564
|
+
url=request.url,
|
565
|
+
proxies=request_kwargs.get("proxies"),
|
566
|
+
stream=request_kwargs.get("stream"),
|
567
|
+
verify=request_kwargs.get("verify"),
|
568
|
+
cert=request_kwargs.get("cert"),
|
569
|
+
)
|
570
|
+
request_kwargs = {**request_kwargs, **env_settings}
|
571
|
+
|
563
572
|
response: requests.Response = self._send_with_retry(
|
564
573
|
request=request,
|
565
574
|
request_kwargs=request_kwargs,
|
@@ -228,7 +228,7 @@ airbyte_cdk/sources/declarative/requesters/request_path.py,sha256=S3MeFvcaQrMbOk
|
|
228
228
|
airbyte_cdk/sources/declarative/requesters/requester.py,sha256=T6tMx_Bx4iT-0YVjY7IzgRil-gaIu9n01b1iwpTh3Ek,5516
|
229
229
|
airbyte_cdk/sources/declarative/resolvers/__init__.py,sha256=xVhOWLQW0wFBTAtRYu3GdFebPqKCDSt1uoP2TiBGrvs,1643
|
230
230
|
airbyte_cdk/sources/declarative/resolvers/components_resolver.py,sha256=rkNatGGhPQhasor95CujY7StmVn5q2UDGAcEzMKueGE,2213
|
231
|
-
airbyte_cdk/sources/declarative/resolvers/config_components_resolver.py,sha256=
|
231
|
+
airbyte_cdk/sources/declarative/resolvers/config_components_resolver.py,sha256=KF2wYDVLRf9-iGIg2AvmUVCryUIGgjLOBeljIn78-UA,8619
|
232
232
|
airbyte_cdk/sources/declarative/resolvers/http_components_resolver.py,sha256=Y3P2tViKhJaOPp7Zl-uiCn5RiHkVEkpBAMi50PVXfoI,4830
|
233
233
|
airbyte_cdk/sources/declarative/resolvers/parametrized_components_resolver.py,sha256=BUmvbsMeIGusZSCd80NiTFcwcosq-uhXHGNheAFs-10,5147
|
234
234
|
airbyte_cdk/sources/declarative/retrievers/__init__.py,sha256=LQQspOQS9oyOx9cGnRIz1mq-8DZCBysyDJDPqjy1HvM,449
|
@@ -382,7 +382,7 @@ airbyte_cdk/sources/streams/http/error_handlers/json_error_message_parser.py,sha
|
|
382
382
|
airbyte_cdk/sources/streams/http/error_handlers/response_models.py,sha256=xGIVELBFY0TmH9aUq1ikoqJz8oHLr6di2JLvKWVEO-s,2236
|
383
383
|
airbyte_cdk/sources/streams/http/exceptions.py,sha256=TTUpWq_qLPtdvXqYPpMhtYbFVQ7dGtajDVfjb6KQ8z8,2099
|
384
384
|
airbyte_cdk/sources/streams/http/http.py,sha256=0uariNq8OFnlX7iqOHwBhecxA-Hfd5hSY8_XCEgn3jI,28499
|
385
|
-
airbyte_cdk/sources/streams/http/http_client.py,sha256=
|
385
|
+
airbyte_cdk/sources/streams/http/http_client.py,sha256=Ys-9qCA-jFu1oQNbehCwb3K2GaJcTJp1gtoa1qujK1M,25438
|
386
386
|
airbyte_cdk/sources/streams/http/rate_limiting.py,sha256=IwdjrHKUnU97XO4qONgYRv4YYW51xQ8SJm4WLafXDB8,6351
|
387
387
|
airbyte_cdk/sources/streams/http/requests_native_auth/__init__.py,sha256=RN0D3nOX1xLgwEwKWu6pkGy3XqBFzKSNZ8Lf6umU2eY,413
|
388
388
|
airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py,sha256=aWrBmJ8AhUtvtHhHq5JGVZFXjDa7jG8DZePG4gEs9VY,19800
|
@@ -457,9 +457,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
|
|
457
457
|
airbyte_cdk/utils/spec_schema_transformations.py,sha256=9YDJmnIGFsT51CVQf2tSSvTapGimITjEFGbUTSZAGTI,963
|
458
458
|
airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
|
459
459
|
airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
|
460
|
-
airbyte_cdk-7.1.0.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
|
461
|
-
airbyte_cdk-7.1.0.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
|
462
|
-
airbyte_cdk-7.1.0.dist-info/METADATA,sha256=
|
463
|
-
airbyte_cdk-7.1.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
464
|
-
airbyte_cdk-7.1.0.dist-info/entry_points.txt,sha256=eLZ2UYvJZGm1s07Pplcs--1Gim60YhZWTb53j_dghwU,195
|
465
|
-
airbyte_cdk-7.1.0.dist-info/RECORD,,
|
460
|
+
airbyte_cdk-7.1.0.post4.dev17948197380.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
|
461
|
+
airbyte_cdk-7.1.0.post4.dev17948197380.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
|
462
|
+
airbyte_cdk-7.1.0.post4.dev17948197380.dist-info/METADATA,sha256=VULius3VshBwf1xPeMXPGLJg16zHu5-XG0xHIBQBfVc,6819
|
463
|
+
airbyte_cdk-7.1.0.post4.dev17948197380.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
464
|
+
airbyte_cdk-7.1.0.post4.dev17948197380.dist-info/entry_points.txt,sha256=eLZ2UYvJZGm1s07Pplcs--1Gim60YhZWTb53j_dghwU,195
|
465
|
+
airbyte_cdk-7.1.0.post4.dev17948197380.dist-info/RECORD,,
|
{airbyte_cdk-7.1.0.dist-info → airbyte_cdk-7.1.0.post4.dev17948197380.dist-info}/LICENSE.txt
RENAMED
File without changes
|
{airbyte_cdk-7.1.0.dist-info → airbyte_cdk-7.1.0.post4.dev17948197380.dist-info}/LICENSE_SHORT
RENAMED
File without changes
|
File without changes
|
{airbyte_cdk-7.1.0.dist-info → airbyte_cdk-7.1.0.post4.dev17948197380.dist-info}/entry_points.txt
RENAMED
File without changes
|