airbyte-cdk 6.61.3__py3-none-any.whl → 6.61.3.post2.dev17299502224__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.
@@ -118,9 +118,9 @@ class ExcelParser(FileTypeParser):
118
118
  # DataFrame.to_dict() method returns datetime values in pandas.Timestamp values, which are not serializable by orjson
119
119
  # DataFrame.to_json() returns string with datetime values serialized to iso8601 with microseconds to align with pydantic behavior
120
120
  # see PR description: https://github.com/airbytehq/airbyte/pull/44444/
121
- yield from orjson.loads(
122
- df.to_json(orient="records", date_format="iso", date_unit="us")
123
- )
121
+ for index, row in df.iterrows():
122
+ # Convert each row (as a Series) to a JSON string
123
+ yield orjson.loads(row.to_json(date_format="iso", date_unit="us"))
124
124
 
125
125
  except Exception as exc:
126
126
  # Raise a RecordParseError if any exception occurs during parsing
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.61.3
3
+ Version: 6.61.3.post2.dev17299502224
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -300,7 +300,7 @@ airbyte_cdk/sources/file_based/file_record_data.py,sha256=Vkr5AyZzlsOezjVCLhFrm_
300
300
  airbyte_cdk/sources/file_based/file_types/__init__.py,sha256=blCLn0-2LC-ZdgcNyDEhqM2RiUvEjEBh-G4-t32ZtuM,1268
301
301
  airbyte_cdk/sources/file_based/file_types/avro_parser.py,sha256=USEYqiICXBWpDV443VtNOCmUA-GINzY_Zah74_5w3qQ,10860
302
302
  airbyte_cdk/sources/file_based/file_types/csv_parser.py,sha256=QlCXB-ry3np67Q_VerQEPoWDOTcPTB6Go4ydZxY9ae4,20445
303
- airbyte_cdk/sources/file_based/file_types/excel_parser.py,sha256=BeplCq0hmojELU6bZCvvpRLpQ9us81TqbGYwrhd3INo,7188
303
+ airbyte_cdk/sources/file_based/file_types/excel_parser.py,sha256=bpAtkDs_QyHAUYcWRkF3ROkQB4wbGe3TzY2jwQgG664,7251
304
304
  airbyte_cdk/sources/file_based/file_types/file_transfer.py,sha256=5l2Jo6bp6neDmgM427PrZMZeqU0hCIZVWnzUZ_7BT10,1100
305
305
  airbyte_cdk/sources/file_based/file_types/file_type_parser.py,sha256=JgpH21PrbRqwK92BJklZWvh2TndA6xZ-eP1LPMo44oQ,2832
306
306
  airbyte_cdk/sources/file_based/file_types/jsonl_parser.py,sha256=GwyNyxmST4RX-XpXy7xVH0D-znYWWBmGv_pVAu95oHQ,5886
@@ -454,9 +454,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
454
454
  airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
455
455
  airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
456
456
  airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
457
- airbyte_cdk-6.61.3.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
458
- airbyte_cdk-6.61.3.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
459
- airbyte_cdk-6.61.3.dist-info/METADATA,sha256=254-RO5u5SN-uUJ3L5wBoP6p6dxbEZvA3OH-8ytxIYs,6636
460
- airbyte_cdk-6.61.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
461
- airbyte_cdk-6.61.3.dist-info/entry_points.txt,sha256=eLZ2UYvJZGm1s07Pplcs--1Gim60YhZWTb53j_dghwU,195
462
- airbyte_cdk-6.61.3.dist-info/RECORD,,
457
+ airbyte_cdk-6.61.3.post2.dev17299502224.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
458
+ airbyte_cdk-6.61.3.post2.dev17299502224.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
459
+ airbyte_cdk-6.61.3.post2.dev17299502224.dist-info/METADATA,sha256=B0FyXybZxYX0Y7NO06p5xim0SwSEENo58CGuaCUmRTs,6657
460
+ airbyte_cdk-6.61.3.post2.dev17299502224.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
461
+ airbyte_cdk-6.61.3.post2.dev17299502224.dist-info/entry_points.txt,sha256=eLZ2UYvJZGm1s07Pplcs--1Gim60YhZWTb53j_dghwU,195
462
+ airbyte_cdk-6.61.3.post2.dev17299502224.dist-info/RECORD,,