airbyte-cdk 7.3.7.post1.dev18600150715__py3-none-any.whl → 7.3.7.post1.dev18608684496__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.

Potentially problematic release.


This version of airbyte-cdk might be problematic. Click here for more details.

@@ -5,7 +5,7 @@
5
5
  # Example:
6
6
  # docker build -f airbyte_cdk/manifest_server/Dockerfile -t airbyte/manifest-server .
7
7
 
8
- FROM python:3.12-slim-bookworm
8
+ FROM python:3.13-slim-bookworm@sha256:ee6c0814498e24cc54424475b9611edb99072250b2b30f9fb83d9256a1469b7a
9
9
 
10
10
  # Install git (needed for dynamic versioning) and poetry
11
11
  RUN apt-get update && \
@@ -7,11 +7,11 @@ import uuid
7
7
  import zlib
8
8
  from contextlib import closing
9
9
  from dataclasses import InitVar, dataclass
10
- from math import nan
11
10
  from typing import Any, Dict, Iterable, Mapping, Optional, Tuple
12
11
 
13
12
  import pandas as pd
14
13
  import requests
14
+ from numpy import nan
15
15
 
16
16
  from airbyte_cdk.sources.declarative.extractors.record_extractor import RecordExtractor
17
17
 
@@ -9,6 +9,8 @@ from typing import Any, Dict, Iterable, Mapping, Optional, Tuple, Union
9
9
 
10
10
  import orjson
11
11
  import pandas as pd
12
+ from numpy import datetime64, issubdtype
13
+ from numpy import dtype as dtype_
12
14
  from pydantic.v1 import BaseModel
13
15
 
14
16
  from airbyte_cdk.sources.file_based.config.file_based_stream_config import (
@@ -139,7 +141,7 @@ class ExcelParser(FileTypeParser):
139
141
  @staticmethod
140
142
  def dtype_to_json_type(
141
143
  current_type: Optional[str],
142
- dtype: Any, # pandas dtype
144
+ dtype: dtype_, # type: ignore [type-arg]
143
145
  ) -> str:
144
146
  """
145
147
  Convert Pandas DataFrame types to Airbyte Types.
@@ -161,7 +163,7 @@ class ExcelParser(FileTypeParser):
161
163
  return "number"
162
164
  if dtype == "bool" and (not current_type or current_type == "boolean"):
163
165
  return "boolean"
164
- if pd.api.types.is_datetime64_any_dtype(dtype):
166
+ if issubdtype(dtype, datetime64):
165
167
  return "date-time"
166
168
  return "string"
167
169
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 7.3.7.post1.dev18600150715
3
+ Version: 7.3.7.post1.dev18608684496
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -35,7 +35,7 @@ Requires-Dist: click (>=8.1.8,<9.0.0)
35
35
  Requires-Dist: cohere (>=4.21,<6.0.0) ; extra == "vector-db-based"
36
36
  Requires-Dist: cryptography (>=44.0.0,<45.0.0)
37
37
  Requires-Dist: dateparser (>=1.2.2,<2.0.0)
38
- Requires-Dist: ddtrace (>=3.12.0,<4.0.0) ; extra == "manifest-server"
38
+ Requires-Dist: ddtrace (>=3.12.3,<4.0.0) ; extra == "manifest-server"
39
39
  Requires-Dist: dpath (>=2.1.6,<3.0.0)
40
40
  Requires-Dist: dunamai (>=1.22.0,<2.0.0)
41
41
  Requires-Dist: fastapi (>=0.116.1) ; extra == "manifest-server"
@@ -43,12 +43,13 @@ Requires-Dist: fastavro (>=1.11.0,<2.0.0) ; extra == "file-based"
43
43
  Requires-Dist: genson (==1.3.0)
44
44
  Requires-Dist: google-cloud-secret-manager (>=2.17.0,<3.0.0)
45
45
  Requires-Dist: isodate (>=0.6.1,<0.7.0)
46
- Requires-Dist: jsonref (>=1,<2)
46
+ Requires-Dist: jsonref (>=0.2,<0.3)
47
47
  Requires-Dist: jsonschema (>=4.17.3,<5.0)
48
48
  Requires-Dist: langchain (==0.1.16) ; extra == "vector-db-based"
49
49
  Requires-Dist: langchain_core (==0.1.42)
50
50
  Requires-Dist: markdown ; extra == "file-based"
51
51
  Requires-Dist: nltk (==3.9.1)
52
+ Requires-Dist: numpy (<2)
52
53
  Requires-Dist: openai[embeddings] (==0.27.9) ; extra == "vector-db-based"
53
54
  Requires-Dist: orjson (>=3.10.7,<4.0.0)
54
55
  Requires-Dist: packaging
@@ -61,7 +61,7 @@ airbyte_cdk/manifest_migrations/migrations/http_requester_request_body_json_data
61
61
  airbyte_cdk/manifest_migrations/migrations/http_requester_url_base_to_url.py,sha256=EX1MVYVpoWypA28qoH48wA0SYZjGdlR8bcSixTDzfgo,1346
62
62
  airbyte_cdk/manifest_migrations/migrations/registry.yaml,sha256=F-hdapvl_vZnsI7CQsV00Rb7g7j4Nt2zaM83-Tbwgbg,956
63
63
  airbyte_cdk/manifest_migrations/migrations_registry.py,sha256=zly2fwaOxDukqC7eowzrDlvhA2v71FjW74kDzvRXhSY,2619
64
- airbyte_cdk/manifest_server/Dockerfile,sha256=9I8HUDHkHggzyUiGg4Bqj7oZjrTSaWrZrWyA2FKD7u8,1317
64
+ airbyte_cdk/manifest_server/Dockerfile,sha256=cA6IGzYJqqQHdX0eXxNp2W53oUCL8ni4KOse3nJ28bs,1389
65
65
  airbyte_cdk/manifest_server/README.md,sha256=bYzb3QAnkaM9mR9XgK7n4FKAvZkM4OWaBGcQb91f3vk,4341
66
66
  airbyte_cdk/manifest_server/__init__.py,sha256=EE54nk2dbtExIEEvLPCTUkJ_ESV5OYP4B2rBJlDpJ5g,33
67
67
  airbyte_cdk/manifest_server/api_models/__init__.py,sha256=xRvplQAd2SJ2GJYn3qyxdvdj3bXaTwvOZoAPJ0t8xhE,1097
@@ -147,7 +147,7 @@ airbyte_cdk/sources/declarative/extractors/http_selector.py,sha256=2zWZ4ewTqQC8V
147
147
  airbyte_cdk/sources/declarative/extractors/record_extractor.py,sha256=XJELMjahAsaomlvQgN2zrNO0DJX0G0fr9r682gUz7Pg,691
148
148
  airbyte_cdk/sources/declarative/extractors/record_filter.py,sha256=sNLGjFX0fnqO_p1F5JO7-tBwjX83wZdz6W-WJTQpGps,3188
149
149
  airbyte_cdk/sources/declarative/extractors/record_selector.py,sha256=vCpwX1PVRFPYKMzm0DHHP3YEZ0Gmd3bBzggOsRha038,7192
150
- airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py,sha256=JI_O74KkwOn1Ex0dIr1aJ22eLvq_lUF4VeoOtgEfn1U,6512
150
+ airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py,sha256=WJyA2OYIEgFpVP5Y3o0tIj69AV6IKkn9B16MeXaEItI,6513
151
151
  airbyte_cdk/sources/declarative/extractors/type_transformer.py,sha256=d6Y2Rfg8pMVEEnHllfVksWZdNVOU55yk34O03dP9muY,1626
152
152
  airbyte_cdk/sources/declarative/incremental/__init__.py,sha256=_y8H65KgdmVNpwQAzXtXzi-t9mY6bmIIAWtRAbpHfEo,295
153
153
  airbyte_cdk/sources/declarative/incremental/concurrent_partition_cursor.py,sha256=ldroIGnz1rie9cNZF-Jsl3J6yAqNe7KYS7PNE342Eqs,27995
@@ -304,7 +304,7 @@ airbyte_cdk/sources/file_based/file_record_data.py,sha256=Vkr5AyZzlsOezjVCLhFrm_
304
304
  airbyte_cdk/sources/file_based/file_types/__init__.py,sha256=blCLn0-2LC-ZdgcNyDEhqM2RiUvEjEBh-G4-t32ZtuM,1268
305
305
  airbyte_cdk/sources/file_based/file_types/avro_parser.py,sha256=USEYqiICXBWpDV443VtNOCmUA-GINzY_Zah74_5w3qQ,10860
306
306
  airbyte_cdk/sources/file_based/file_types/csv_parser.py,sha256=QlCXB-ry3np67Q_VerQEPoWDOTcPTB6Go4ydZxY9ae4,20445
307
- airbyte_cdk/sources/file_based/file_types/excel_parser.py,sha256=-1LK3eYVSbDTj9Tn9izLhNY19C-9G1cLawTqkjA1fjo,7113
307
+ airbyte_cdk/sources/file_based/file_types/excel_parser.py,sha256=BeplCq0hmojELU6bZCvvpRLpQ9us81TqbGYwrhd3INo,7188
308
308
  airbyte_cdk/sources/file_based/file_types/file_transfer.py,sha256=rFxWaqItBux9tPf4xU03LT6b-wDZf1QolM92mP8Diuk,1120
309
309
  airbyte_cdk/sources/file_based/file_types/file_type_parser.py,sha256=JgpH21PrbRqwK92BJklZWvh2TndA6xZ-eP1LPMo44oQ,2832
310
310
  airbyte_cdk/sources/file_based/file_types/jsonl_parser.py,sha256=GwyNyxmST4RX-XpXy7xVH0D-znYWWBmGv_pVAu95oHQ,5886
@@ -459,9 +459,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
459
459
  airbyte_cdk/utils/spec_schema_transformations.py,sha256=9YDJmnIGFsT51CVQf2tSSvTapGimITjEFGbUTSZAGTI,963
460
460
  airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
461
461
  airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
462
- airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
463
- airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
464
- airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/METADATA,sha256=9Y38Whzxu1OFKc8Pr4ZjYZei88Q6NhLVkD6amxUs-Io,6789
465
- airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
466
- airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/entry_points.txt,sha256=eLZ2UYvJZGm1s07Pplcs--1Gim60YhZWTb53j_dghwU,195
467
- airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/RECORD,,
462
+ airbyte_cdk-7.3.7.post1.dev18608684496.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
463
+ airbyte_cdk-7.3.7.post1.dev18608684496.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
464
+ airbyte_cdk-7.3.7.post1.dev18608684496.dist-info/METADATA,sha256=ExocIWoq1afT3dfL7T7M9PPbQBbboGeYHXNLxQVMNnE,6819
465
+ airbyte_cdk-7.3.7.post1.dev18608684496.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
466
+ airbyte_cdk-7.3.7.post1.dev18608684496.dist-info/entry_points.txt,sha256=eLZ2UYvJZGm1s07Pplcs--1Gim60YhZWTb53j_dghwU,195
467
+ airbyte_cdk-7.3.7.post1.dev18608684496.dist-info/RECORD,,