airbyte-cdk 6.26.0.dev4105__py3-none-any.whl → 6.26.0.dev4106__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.
@@ -196,21 +196,24 @@ class DefaultFileBasedStream(AbstractFileBasedStream, IncrementalMixin):
196
196
  )
197
197
  elif self.sync_acl_permissions:
198
198
  try:
199
- metadata_record = self.stream_reader.get_file_acl_permissions(
199
+ permissions_record = self.stream_reader.get_file_acl_permissions(
200
200
  file, logger=self.logger
201
201
  )
202
+ permissions_record = self.transform_record(
203
+ permissions_record, file, file_datetime_string
204
+ )
202
205
  yield stream_data_to_airbyte_message(
203
- self.name, metadata_record, is_file_transfer_message=False
206
+ self.name, permissions_record, is_file_transfer_message=False
204
207
  )
205
208
  except Exception as e:
206
209
  self.logger.error(
207
- f"Failed to retrieve metadata for file {file.uri}: {str(e)}"
210
+ f"Failed to retrieve permissions for file {file.uri}: {str(e)}"
208
211
  )
209
212
  yield AirbyteMessage(
210
213
  type=MessageType.LOG,
211
214
  log=AirbyteLogMessage(
212
215
  level=Level.ERROR,
213
- message=f"Error retrieving metadata: stream={self.name} file={file.uri}",
216
+ message=f"Error retrieving files permissions: stream={self.name} file={file.uri}",
214
217
  stack_trace=traceback.format_exc(),
215
218
  ),
216
219
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: airbyte-cdk
3
- Version: 6.26.0.dev4105
3
+ Version: 6.26.0.dev4106
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  License: MIT
6
6
  Keywords: airbyte,connector-development-kit,cdk
@@ -241,7 +241,7 @@ airbyte_cdk/sources/file_based/stream/concurrent/cursor/file_based_final_state_c
241
241
  airbyte_cdk/sources/file_based/stream/cursor/__init__.py,sha256=MhFB5hOo8sjwvCh8gangaymdg3EJWYt_72brFOZt068,191
242
242
  airbyte_cdk/sources/file_based/stream/cursor/abstract_file_based_cursor.py,sha256=om-x3gZFPgWDpi15S9RxZmR36VHnk8sytgN6LlBQhAw,1934
243
243
  airbyte_cdk/sources/file_based/stream/cursor/default_file_based_cursor.py,sha256=VGV7xLyBribuBMVrXtO1xqkWJD86bl7yhXtjnwLMohM,7051
244
- airbyte_cdk/sources/file_based/stream/default_file_based_stream.py,sha256=SFb1UXtJtaqo-1t7hM3ahM1ZTH2k01oqX1mAJvz08Y0,19529
244
+ airbyte_cdk/sources/file_based/stream/default_file_based_stream.py,sha256=Jh3Ry-eBbW_4rgLlMFTkDMSHZjHk8xBDn0MvH-_mZkY,19716
245
245
  airbyte_cdk/sources/file_based/stream/identities_stream.py,sha256=kHFaBn4Wsqi8PYI2z7_aGsjMPA5A4UoPrSMnKfxP4SA,3644
246
246
  airbyte_cdk/sources/file_based/types.py,sha256=INxG7OPnkdUP69oYNKMAbwhvV1AGvLRHs1J6pIia2FI,218
247
247
  airbyte_cdk/sources/http_config.py,sha256=OBZeuyFilm6NlDlBhFQvHhTWabEvZww6OHDIlZujIS0,730
@@ -352,8 +352,8 @@ airbyte_cdk/utils/slice_hasher.py,sha256=-pHexlNYoWYPnXNH-M7HEbjmeJe9Zk7SJijdQ7d
352
352
  airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
353
353
  airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
354
354
  airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
355
- airbyte_cdk-6.26.0.dev4105.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
356
- airbyte_cdk-6.26.0.dev4105.dist-info/METADATA,sha256=oXTY1ZOH5cuzacDgoXEf5pcBYTfKAChqCyN0qmYsxCc,6004
357
- airbyte_cdk-6.26.0.dev4105.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
358
- airbyte_cdk-6.26.0.dev4105.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
359
- airbyte_cdk-6.26.0.dev4105.dist-info/RECORD,,
355
+ airbyte_cdk-6.26.0.dev4106.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
356
+ airbyte_cdk-6.26.0.dev4106.dist-info/METADATA,sha256=E3TdxkzBM8x3qpnIRA6WmERuZ3ITJIiSXYmikXryXw8,6004
357
+ airbyte_cdk-6.26.0.dev4106.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
358
+ airbyte_cdk-6.26.0.dev4106.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
359
+ airbyte_cdk-6.26.0.dev4106.dist-info/RECORD,,