airbyte-cdk 6.7.1rc1__py3-none-any.whl → 6.7.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.
@@ -360,9 +360,6 @@ class SimpleRetriever(Retriever):
360
360
  next_page_token = self._next_page_token(response)
361
361
  if not next_page_token:
362
362
  pagination_complete = True
363
- # Closing the response to avoid memory issues. Note that this assumes the caller as completely consumed the response before
364
- # iterating on another one
365
- response.close()
366
363
 
367
364
  # Always return an empty generator just in case no records were ever yielded
368
365
  yield from []
@@ -90,11 +90,9 @@ class HttpClient:
90
90
  ):
91
91
  self._name = name
92
92
  self._api_budget: APIBudget = api_budget or APIBudget(policies=[])
93
- self._is_session_owner = False
94
93
  if session:
95
94
  self._session = session
96
95
  else:
97
- self._is_session_owner = True
98
96
  self._use_cache = use_cache
99
97
  self._session = self._request_session()
100
98
  self._session.mount(
@@ -119,10 +117,6 @@ class HttpClient:
119
117
  self._disable_retries = disable_retries
120
118
  self._message_repository = message_repository
121
119
 
122
- def __del__(self):
123
- if self._is_session_owner:
124
- self._session.close()
125
-
126
120
  @property
127
121
  def cache_filename(self) -> str:
128
122
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.7.1rc1
3
+ Version: 6.7.1rc3
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -155,7 +155,7 @@ airbyte_cdk/sources/declarative/requesters/requester.py,sha256=9LWbCkHpr7GWTkPvY
155
155
  airbyte_cdk/sources/declarative/retrievers/__init__.py,sha256=FVQpUGVwp2Gibk4gp07VmLKX5AafUlsZWFSrDpUDuJM,443
156
156
  airbyte_cdk/sources/declarative/retrievers/async_retriever.py,sha256=iNe8Ihrk4vClCNtnEjtMUjjUoNo0UceYUFV7yAcXCU0,4965
157
157
  airbyte_cdk/sources/declarative/retrievers/retriever.py,sha256=XPLs593Xv8c5cKMc37XzUAYmzlXd1a7eSsspM-CMuWA,1696
158
- airbyte_cdk/sources/declarative/retrievers/simple_retriever.py,sha256=koRm-fZbogmUAw71hxQC6VDzk5i8ku8juQaiu-VeAUo,24147
158
+ airbyte_cdk/sources/declarative/retrievers/simple_retriever.py,sha256=j09j4ngVDGosEVVEQk_joejAXm6dBfr45ulElhz2ZoA,23931
159
159
  airbyte_cdk/sources/declarative/schema/__init__.py,sha256=ul8L9S0-__AMEdbCLHBq-PMEeA928NVp8BB83BMotfU,517
160
160
  airbyte_cdk/sources/declarative/schema/default_schema_loader.py,sha256=KTACrIE23a83wsm3Rd9Eb4K6-20lrGqYxTHNp9yxsso,1820
161
161
  airbyte_cdk/sources/declarative/schema/inline_schema_loader.py,sha256=bVETE10hRsatRJq3R3BeyRR0wIoK3gcP1gcpVRQ_P5U,464
@@ -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=zUgI_20-P2U38zN0CLym52C9z2AJ0aKHq2vkEsbobv0,19299
277
+ airbyte_cdk/sources/streams/http/http_client.py,sha256=EhB9An8wA9wkoNBxTPfHGwmL_-jJVLUl6uFgkY6Fcho,19125
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.1rc1.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
335
- airbyte_cdk-6.7.1rc1.dist-info/METADATA,sha256=5LBwU-g9pd543RuTYdi94ni2E9XnJrLmg2dJiYW-3tc,13345
336
- airbyte_cdk-6.7.1rc1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
337
- airbyte_cdk-6.7.1rc1.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
338
- airbyte_cdk-6.7.1rc1.dist-info/RECORD,,
334
+ airbyte_cdk-6.7.1rc3.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
335
+ airbyte_cdk-6.7.1rc3.dist-info/METADATA,sha256=30Cxq3db7GZ-C8f9O_upnnu24ohOqsW5epbzvlvsJw0,13345
336
+ airbyte_cdk-6.7.1rc3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
337
+ airbyte_cdk-6.7.1rc3.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
338
+ airbyte_cdk-6.7.1rc3.dist-info/RECORD,,