airbyte-cdk 6.5.5__py3-none-any.whl → 6.6.0rc1__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.
airbyte_cdk/__init__.py CHANGED
@@ -282,18 +282,12 @@ __all__ = [
282
282
  "StreamSlice",
283
283
  ]
284
284
 
285
- __version__: str
285
+ __version__ = _dunamai.get_version(
286
+ "airbyte-cdk",
287
+ third_choice=_dunamai.Version.from_any_vcs,
288
+ ).serialize()
286
289
  """Version generated by poetry dynamic versioning during publish.
287
290
 
288
291
  When running in development, dunamai will calculate a new prerelease version
289
292
  from existing git release tag info.
290
293
  """
291
-
292
- try:
293
- __version__ = _dunamai.get_version(
294
- "airbyte-cdk",
295
- third_choice=_dunamai.Version.from_any_vcs,
296
- fallback=_dunamai.Version("0.0.0+dev"),
297
- ).serialize()
298
- except:
299
- __version__ = "0.0.0+dev"
@@ -16,9 +16,6 @@ from airbyte_cdk.sources.connector_state_manager import ConnectorStateManager
16
16
  from airbyte_cdk.sources.declarative.concurrency_level import ConcurrencyLevel
17
17
  from airbyte_cdk.sources.declarative.declarative_stream import DeclarativeStream
18
18
  from airbyte_cdk.sources.declarative.extractors import RecordSelector
19
- from airbyte_cdk.sources.declarative.extractors.record_filter import (
20
- ClientSideIncrementalRecordFilterDecorator,
21
- )
22
19
  from airbyte_cdk.sources.declarative.incremental.datetime_based_cursor import DatetimeBasedCursor
23
20
  from airbyte_cdk.sources.declarative.interpolation import InterpolatedString
24
21
  from airbyte_cdk.sources.declarative.manifest_declarative_source import ManifestDeclarativeSource
@@ -294,9 +291,6 @@ class ConcurrentDeclarativeSource(ManifestDeclarativeSource, Generic[TState]):
294
291
  if isinstance(record_selector, RecordSelector):
295
292
  if (
296
293
  record_selector.record_filter
297
- and not isinstance(
298
- record_selector.record_filter, ClientSideIncrementalRecordFilterDecorator
299
- )
300
294
  and "stream_state" in record_selector.record_filter.condition
301
295
  ):
302
296
  self.logger.warning(
@@ -256,10 +256,7 @@ class ManifestDeclarativeSource(DeclarativeSource):
256
256
  manifest_version, "manifest"
257
257
  )
258
258
 
259
- if cdk_version.startswith("0.0.0"):
260
- # Skipping version compatibility check on unreleased dev branch
261
- pass
262
- elif cdk_major < manifest_major or (
259
+ if cdk_major < manifest_major or (
263
260
  cdk_major == manifest_major and cdk_minor < manifest_minor
264
261
  ):
265
262
  raise ValidationError(
@@ -4,9 +4,10 @@
4
4
  from __future__ import annotations
5
5
 
6
6
  from enum import Enum
7
- from typing import Any, Dict, List, Literal, Optional, Union
7
+ from typing import Any, Dict, List, Optional, Union
8
8
 
9
9
  from pydantic.v1 import BaseModel, Extra, Field
10
+ from typing_extensions import Literal
10
11
 
11
12
 
12
13
  class AuthFlowType(Enum):
@@ -631,7 +632,6 @@ class HttpResponseFilter(BaseModel):
631
632
  description="Match the response if its HTTP code is included in this list.",
632
633
  examples=[[420, 429], [500]],
633
634
  title="HTTP Codes",
634
- unique_items=True,
635
635
  )
636
636
  predicate: Optional[str] = Field(
637
637
  None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.5.5
3
+ Version: 6.6.0rc1
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -31,11 +31,11 @@ Requires-Dist: avro (>=1.11.2,<1.12.0) ; extra == "file-based"
31
31
  Requires-Dist: backoff
32
32
  Requires-Dist: cachetools
33
33
  Requires-Dist: cohere (==4.21) ; extra == "vector-db-based"
34
- Requires-Dist: cryptography (>=42.0.5,<44.0.0)
34
+ Requires-Dist: cryptography (>=42.0.5,<43.0.0)
35
35
  Requires-Dist: dpath (>=2.1.6,<3.0.0)
36
36
  Requires-Dist: dunamai (>=1.22.0,<2.0.0)
37
37
  Requires-Dist: fastavro (>=1.8.0,<1.9.0) ; extra == "file-based"
38
- Requires-Dist: genson (==1.3.0)
38
+ Requires-Dist: genson (==1.2.2)
39
39
  Requires-Dist: isodate (>=0.6.1,<0.7.0)
40
40
  Requires-Dist: jsonref (>=0.2,<0.3)
41
41
  Requires-Dist: jsonschema (>=3.2.0,<3.3.0)
@@ -69,7 +69,7 @@ Requires-Dist: sqlalchemy (>=2.0,<3.0,!=2.0.36) ; extra == "sql"
69
69
  Requires-Dist: tiktoken (==0.4.0) ; extra == "vector-db-based"
70
70
  Requires-Dist: unstructured.pytesseract (>=0.3.12) ; extra == "file-based"
71
71
  Requires-Dist: unstructured[docx,pptx] (==0.10.27) ; extra == "file-based"
72
- Requires-Dist: wcmatch (==10.0)
72
+ Requires-Dist: wcmatch (==8.4)
73
73
  Requires-Dist: xmltodict (>=0.13.0,<0.14.0)
74
74
  Project-URL: Documentation, https://docs.airbyte.io/
75
75
  Project-URL: Repository, https://github.com/airbytehq/airbyte-python-cdk
@@ -1,4 +1,4 @@
1
- airbyte_cdk/__init__.py,sha256=3BlW1O37s_grUaioVZvGj3hRsofR0tY4sMceu5ygylk,11550
1
+ airbyte_cdk/__init__.py,sha256=pf6mYgcDvovRPNCGaIIRAYnSjSAYFzxHkq2mJ5N4VgU,11425
2
2
  airbyte_cdk/config_observation.py,sha256=A2P475pS9JndFzBggtkkAmcN1aMeq_thRbXRzmWjI3E,3997
3
3
  airbyte_cdk/connector.py,sha256=srfjRNgkt1nsPw-Mm0d1qXoVmM90zHPYHIfxu8p6JXI,4223
4
4
  airbyte_cdk/connector_builder/README.md,sha256=Hw3wvVewuHG9-QgsAq1jDiKuLlStDxKBz52ftyNRnBw,1665
@@ -58,7 +58,7 @@ airbyte_cdk/sources/declarative/checks/check_stream.py,sha256=dAA-UhmMj0WLXCkRQr
58
58
  airbyte_cdk/sources/declarative/checks/connection_checker.py,sha256=MBRJo6WJlZQHpIfOGaNOkkHUmgUl_4wDM6VPo41z5Ss,1383
59
59
  airbyte_cdk/sources/declarative/concurrency_level/__init__.py,sha256=5XUqrmlstYlMM0j6crktlKQwALek0uiz2D3WdM46MyA,191
60
60
  airbyte_cdk/sources/declarative/concurrency_level/concurrency_level.py,sha256=YIwCTCpOr_QSNW4ltQK0yUGWInI8PKNY216HOOegYLk,2101
61
- airbyte_cdk/sources/declarative/concurrent_declarative_source.py,sha256=b_zZOO2_IcBmqfXy9dVzw_CBS4kqva_dZQnU7Gc7LU0,19038
61
+ airbyte_cdk/sources/declarative/concurrent_declarative_source.py,sha256=7HWUVNpvPtLcLrpSzYGRRqvHVt5JfXY3ckgCfQMpc_E,18757
62
62
  airbyte_cdk/sources/declarative/datetime/__init__.py,sha256=l9LG7Qm6e5r_qgqfVKnx3mXYtg1I9MmMjomVIPfU4XA,177
63
63
  airbyte_cdk/sources/declarative/datetime/datetime_parser.py,sha256=SX9JjdesN1edN2WVUVMzU_ptqp2QB1OnsnjZ4mwcX7w,2579
64
64
  airbyte_cdk/sources/declarative/datetime/min_max_datetime.py,sha256=8VZJP18eJLabSPP1XBSPDaagUBG6q1ynIiPJy3rE2mc,5344
@@ -95,12 +95,12 @@ airbyte_cdk/sources/declarative/interpolation/interpolated_string.py,sha256=LYEZ
95
95
  airbyte_cdk/sources/declarative/interpolation/interpolation.py,sha256=-V5UddGm69UKEB6o_O1EIES9kfY8FV_X4Ji8w1yOuSA,981
96
96
  airbyte_cdk/sources/declarative/interpolation/jinja.py,sha256=KwTd0oagnZI4tARxnJZlQiDHn1IXqS7dbnRT0rKRAj8,6626
97
97
  airbyte_cdk/sources/declarative/interpolation/macros.py,sha256=QgIfSVPHx_MMUCgbQdm-NMpUlp_cpk0OQhoRDFtkrxE,4040
98
- airbyte_cdk/sources/declarative/manifest_declarative_source.py,sha256=-n0gWLPybC8-MBmmiO8k9s6L1bmNMWrsnn16JibtX7E,12916
98
+ airbyte_cdk/sources/declarative/manifest_declarative_source.py,sha256=8CVOtNnyTFvUXg185bQqPzlGenOt6qCr0CeKfxm0gnE,12777
99
99
  airbyte_cdk/sources/declarative/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
100
100
  airbyte_cdk/sources/declarative/migrations/legacy_to_per_partition_state_migration.py,sha256=qlZYA_0QPI97jCMR9HKpuXQgoTzYmx_g6_vLWMR3tbU,3785
101
101
  airbyte_cdk/sources/declarative/migrations/state_migration.py,sha256=KWPjealMLKSMtajXgkdGgKg7EmTLR-CqqD7UIh0-eDU,794
102
102
  airbyte_cdk/sources/declarative/models/__init__.py,sha256=nUFxNCiKeYRVXuZEKA7GD-lTHxsiKcQ8FitZjKhPIvE,100
103
- airbyte_cdk/sources/declarative/models/declarative_component_schema.py,sha256=pzyZGq-F2smnUvacFpyX1WThw4x2HcNB4kiKtMYJ-L0,75037
103
+ airbyte_cdk/sources/declarative/models/declarative_component_schema.py,sha256=IMYN8vdQ3bmgpnapxAMC7skyqx7aeM-CU0n2qv1cDvY,75039
104
104
  airbyte_cdk/sources/declarative/parsers/__init__.py,sha256=ZnqYNxHsKCgO38IwB34RQyRMXTs4GTvlRi3ImKnIioo,61
105
105
  airbyte_cdk/sources/declarative/parsers/custom_exceptions.py,sha256=Rir9_z3Kcd5Es0-LChrzk-0qubAsiK_RSEnLmK2OXm8,553
106
106
  airbyte_cdk/sources/declarative/parsers/manifest_component_transformer.py,sha256=jVZ3ZV5YZrmDNIX5cM2mugXmnbH27zHRcD22_3oatpo,8454
@@ -324,7 +324,7 @@ airbyte_cdk/utils/schema_inferrer.py,sha256=igYTpdi1uqzyj13h5EJli67g1hfwQK8K_jlN
324
324
  airbyte_cdk/utils/spec_schema_transformations.py,sha256=LVc9KbtMeV_z99jWo0Ou8u4l6eBJ0BWNhxj4zrrGKRs,763
325
325
  airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
326
326
  airbyte_cdk/utils/traced_exception.py,sha256=89TQdFuYZ1NJgmFpqLzY_T_T_64TpJYmVqs119Bp43g,6164
327
- airbyte_cdk-6.5.5.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
328
- airbyte_cdk-6.5.5.dist-info/METADATA,sha256=s9VsiPALvoHF16-wZxXXAE8wG-uiv_FsYI20BZrsbT0,13347
329
- airbyte_cdk-6.5.5.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
330
- airbyte_cdk-6.5.5.dist-info/RECORD,,
327
+ airbyte_cdk-6.6.0rc1.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
328
+ airbyte_cdk-6.6.0rc1.dist-info/METADATA,sha256=zHyHP2GXulAO0pJV3C8bWnepHQD2ElPE1DImb1bjBUo,13349
329
+ airbyte_cdk-6.6.0rc1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
330
+ airbyte_cdk-6.6.0rc1.dist-info/RECORD,,