airbyte-cdk 6.8.1rc1__py3-none-any.whl → 6.8.1rc3__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.
@@ -522,11 +522,19 @@ class HttpClient:
522
522
 
523
523
 
524
524
  class SkipFailureSQLiteDict(requests_cache.backends.sqlite.SQLiteDict):
525
+ def __getitem__(self, key): # type: ignore # lib is not typed
526
+ try:
527
+ return super().__getitem__(key) # type: ignore # lib is not typed
528
+ except Exception as exception:
529
+ if not isinstance(exception, KeyError):
530
+ logger.warning(f"Error while retrieving item from cache: {exception}")
531
+
525
532
  def _write(self, key: str, value: str) -> None:
526
533
  try:
527
534
  super()._write(key, value) # type: ignore # lib is not typed
528
535
  except Exception as exception:
529
- logger.warning(exception)
536
+ logger.warning(f"Error while saving item to cache: {exception}")
537
+
530
538
 
531
539
 
532
540
  class SkipFailureSQLiteCache(requests_cache.backends.sqlite.SQLiteCache):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.8.1rc1
3
+ Version: 6.8.1rc3
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -273,7 +273,7 @@ airbyte_cdk/sources/streams/http/error_handlers/json_error_message_parser.py,sha
273
273
  airbyte_cdk/sources/streams/http/error_handlers/response_models.py,sha256=xGIVELBFY0TmH9aUq1ikoqJz8oHLr6di2JLvKWVEO-s,2236
274
274
  airbyte_cdk/sources/streams/http/exceptions.py,sha256=njC7MlMJoFYcSGz4mIp6-bqLFTr6vC8ej25X0oSeyjE,1824
275
275
  airbyte_cdk/sources/streams/http/http.py,sha256=h0bq4arzMeJsR-5HZNfGYXtZhgVvLbW6myi9fuhMayU,28467
276
- airbyte_cdk/sources/streams/http/http_client.py,sha256=LNMQSp0OKH2Y4xRg6wnduS5beLbTtXAL3nV3VeEO0Ho,22638
276
+ airbyte_cdk/sources/streams/http/http_client.py,sha256=ZFZHv1bh8RLW8Ehfwo8-jXgDjk2wI0pLatxMK19Kc8Y,23018
277
277
  airbyte_cdk/sources/streams/http/rate_limiting.py,sha256=IwdjrHKUnU97XO4qONgYRv4YYW51xQ8SJm4WLafXDB8,6351
278
278
  airbyte_cdk/sources/streams/http/requests_native_auth/__init__.py,sha256=RN0D3nOX1xLgwEwKWu6pkGy3XqBFzKSNZ8Lf6umU2eY,413
279
279
  airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py,sha256=nxI94yJ3bGfpDO8RR3QvOJ-PSW0n9CElSAkgl5ae80Y,10321
@@ -330,8 +330,8 @@ airbyte_cdk/utils/slice_hasher.py,sha256=-pHexlNYoWYPnXNH-M7HEbjmeJe9Zk7SJijdQ7d
330
330
  airbyte_cdk/utils/spec_schema_transformations.py,sha256=LVc9KbtMeV_z99jWo0Ou8u4l6eBJ0BWNhxj4zrrGKRs,763
331
331
  airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
332
332
  airbyte_cdk/utils/traced_exception.py,sha256=a6q51tBS3IdtefuOiL1eBwSmnNAXfjFMlMjSIQ_Tl-o,6165
333
- airbyte_cdk-6.8.1rc1.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
334
- airbyte_cdk-6.8.1rc1.dist-info/METADATA,sha256=lwiwCE7VZrWAHf0WpCy40uacGVDyKzCRXNDhScDB3aQ,13522
335
- airbyte_cdk-6.8.1rc1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
336
- airbyte_cdk-6.8.1rc1.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
337
- airbyte_cdk-6.8.1rc1.dist-info/RECORD,,
333
+ airbyte_cdk-6.8.1rc3.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
334
+ airbyte_cdk-6.8.1rc3.dist-info/METADATA,sha256=vvkATPT__1svyLn-dzVePOdjCLIG58ZWIyqkd8WYLc8,13522
335
+ airbyte_cdk-6.8.1rc3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
336
+ airbyte_cdk-6.8.1rc3.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
337
+ airbyte_cdk-6.8.1rc3.dist-info/RECORD,,