airbyte-cdk 6.56.5.post3.dev15889419925__py3-none-any.whl → 6.56.6__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.
@@ -3650,7 +3650,6 @@ definitions:
3650
3650
  - "$ref": "#/definitions/GzipDecoder"
3651
3651
  - "$ref": "#/definitions/JsonDecoder"
3652
3652
  - "$ref": "#/definitions/JsonlDecoder"
3653
- - "$ref": "#/definitions/XmlDecoder"
3654
3653
  CsvDecoder:
3655
3654
  title: CSV
3656
3655
  description: "Select 'CSV' for response data that is formatted as CSV (comma-separated values). Can specify an encoding (default: 'utf-8') and a delimiter (default: ',')."
@@ -1,5 +1,3 @@
1
- # Copyright (c) 2025 Airbyte, Inc., all rights reserved.
2
-
3
1
  # generated by datamodel-codegen:
4
2
  # filename: declarative_component_schema.yaml
5
3
 
@@ -2022,7 +2020,7 @@ class RecordSelector(BaseModel):
2022
2020
 
2023
2021
  class GzipDecoder(BaseModel):
2024
2022
  type: Literal["GzipDecoder"]
2025
- decoder: Union[CsvDecoder, GzipDecoder, JsonDecoder, JsonlDecoder, XmlDecoder]
2023
+ decoder: Union[CsvDecoder, GzipDecoder, JsonDecoder, JsonlDecoder]
2026
2024
 
2027
2025
 
2028
2026
  class RequestBodyGraphQL(BaseModel):
@@ -11,6 +11,7 @@ import dpath
11
11
  import yaml
12
12
  from typing_extensions import deprecated
13
13
  from yaml.parser import ParserError
14
+ from yaml.scanner import ScannerError
14
15
 
15
16
  from airbyte_cdk.sources.declarative.interpolation import InterpolatedString
16
17
  from airbyte_cdk.sources.declarative.resolvers.components_resolver import (
@@ -185,4 +186,8 @@ class ConfigComponentsResolver(ComponentsResolver):
185
186
  return yaml.safe_load(value)
186
187
  except ParserError: # "{{ record[0] in ['cohortActiveUsers'] }}" # not valid YAML
187
188
  return value
189
+ except ScannerError as e: # "%Y-%m-%d' # not valid yaml
190
+ if "expected alphabetic or numeric character, but found '%'" in str(e):
191
+ return value
192
+ raise e
188
193
  return value
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.56.5.post3.dev15889419925
3
+ Version: 6.56.6
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -89,7 +89,7 @@ airbyte_cdk/sources/declarative/concurrent_declarative_source.py,sha256=rQz9gXp3
89
89
  airbyte_cdk/sources/declarative/datetime/__init__.py,sha256=4Hw-PX1-VgESLF16cDdvuYCzGJtHntThLF4qIiULWeo,61
90
90
  airbyte_cdk/sources/declarative/datetime/datetime_parser.py,sha256=_zGNGq31RNy_0QBLt_EcTvgPyhj7urPdx6oA3M5-r3o,3150
91
91
  airbyte_cdk/sources/declarative/datetime/min_max_datetime.py,sha256=0BHBtDNQZfvwM45-tY5pNlTcKAFSGGNxemoi0Jic-0E,5785
92
- airbyte_cdk/sources/declarative/declarative_component_schema.yaml,sha256=QREI9ckzkefOJz5T9ZmU05BGAVgO8lvdCC1DSuXIYrM,181331
92
+ airbyte_cdk/sources/declarative/declarative_component_schema.yaml,sha256=J7y_7HJdJMBhngGH3eprGQTlHv_eYGBpD8xe2su5KAs,181284
93
93
  airbyte_cdk/sources/declarative/declarative_source.py,sha256=qmyMnnet92eGc3C22yBtpvD5UZjqdhsAafP_zxI5wp8,1814
94
94
  airbyte_cdk/sources/declarative/declarative_stream.py,sha256=dCRlddBUSaJmBNBz1pSO1r2rTw8AP5d2_vlmIeGs2gg,10767
95
95
  airbyte_cdk/sources/declarative/decoders/__init__.py,sha256=JHb_0d3SE6kNY10mxA5YBEKPeSbsWYjByq1gUQxepoE,953
@@ -133,7 +133,7 @@ airbyte_cdk/sources/declarative/migrations/legacy_to_per_partition_state_migrati
133
133
  airbyte_cdk/sources/declarative/migrations/state_migration.py,sha256=KWPjealMLKSMtajXgkdGgKg7EmTLR-CqqD7UIh0-eDU,794
134
134
  airbyte_cdk/sources/declarative/models/__init__.py,sha256=nUFxNCiKeYRVXuZEKA7GD-lTHxsiKcQ8FitZjKhPIvE,100
135
135
  airbyte_cdk/sources/declarative/models/base_model_with_deprecations.py,sha256=Imnj3yef0aqRdLfaUxkIYISUb8YkiPrRH_wBd-x8HjM,5999
136
- airbyte_cdk/sources/declarative/models/declarative_component_schema.py,sha256=_vEh895F7WaMPiTGj-178Gq7ExqGwIcPJc1EpeRlGdg,128079
136
+ airbyte_cdk/sources/declarative/models/declarative_component_schema.py,sha256=_vSttuYgevivyK3SJZjMvs7p4NP7pqS9F1c1ei3DJ7M,128009
137
137
  airbyte_cdk/sources/declarative/parsers/__init__.py,sha256=ZnqYNxHsKCgO38IwB34RQyRMXTs4GTvlRi3ImKnIioo,61
138
138
  airbyte_cdk/sources/declarative/parsers/custom_code_compiler.py,sha256=nlVvHC511NUyDEEIRBkoeDTAvLqKNp-hRy8D19z8tdk,5941
139
139
  airbyte_cdk/sources/declarative/parsers/custom_exceptions.py,sha256=wnRUP0Xeru9Rbu5OexXSDN9QWDo8YU4tT9M2LDVOgGA,802
@@ -195,7 +195,7 @@ airbyte_cdk/sources/declarative/requesters/request_path.py,sha256=S3MeFvcaQrMbOk
195
195
  airbyte_cdk/sources/declarative/requesters/requester.py,sha256=T6tMx_Bx4iT-0YVjY7IzgRil-gaIu9n01b1iwpTh3Ek,5516
196
196
  airbyte_cdk/sources/declarative/resolvers/__init__.py,sha256=xVhOWLQW0wFBTAtRYu3GdFebPqKCDSt1uoP2TiBGrvs,1643
197
197
  airbyte_cdk/sources/declarative/resolvers/components_resolver.py,sha256=oJIpy66ep8n-QOc8GwpllApTRcl4QtQhkTw5fWWra2w,2026
198
- airbyte_cdk/sources/declarative/resolvers/config_components_resolver.py,sha256=sD3N7nmqDjLsau8P2DE7DYOHdFTYjC_2nIB6454BNYk,7556
198
+ airbyte_cdk/sources/declarative/resolvers/config_components_resolver.py,sha256=PBLSxQ7rD69j-RaHVKiXw9xW4mxrMeX6y7vCnlHfg60,7810
199
199
  airbyte_cdk/sources/declarative/resolvers/http_components_resolver.py,sha256=AiojNs8wItJFrENZBFUaDvau3sgwudO6Wkra36upSPo,4639
200
200
  airbyte_cdk/sources/declarative/resolvers/parametrized_components_resolver.py,sha256=BUmvbsMeIGusZSCd80NiTFcwcosq-uhXHGNheAFs-10,5147
201
201
  airbyte_cdk/sources/declarative/retrievers/__init__.py,sha256=LQQspOQS9oyOx9cGnRIz1mq-8DZCBysyDJDPqjy1HvM,449
@@ -423,9 +423,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
423
423
  airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
424
424
  airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
425
425
  airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
426
- airbyte_cdk-6.56.5.post3.dev15889419925.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
427
- airbyte_cdk-6.56.5.post3.dev15889419925.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
428
- airbyte_cdk-6.56.5.post3.dev15889419925.dist-info/METADATA,sha256=txsCXNHWwFnICDFjP-J8c9P2SwqnfAr1W3MUSpZGUAo,6413
429
- airbyte_cdk-6.56.5.post3.dev15889419925.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
430
- airbyte_cdk-6.56.5.post3.dev15889419925.dist-info/entry_points.txt,sha256=AKWbEkHfpzzk9nF9tqBUaw1MbvTM4mGtEzmZQm0ZWvM,139
431
- airbyte_cdk-6.56.5.post3.dev15889419925.dist-info/RECORD,,
426
+ airbyte_cdk-6.56.6.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
427
+ airbyte_cdk-6.56.6.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
428
+ airbyte_cdk-6.56.6.dist-info/METADATA,sha256=UIEu7OLuNVAhPHDB7oKrCBEvNdXnGz6-oVgzQor4n5o,6392
429
+ airbyte_cdk-6.56.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
430
+ airbyte_cdk-6.56.6.dist-info/entry_points.txt,sha256=AKWbEkHfpzzk9nF9tqBUaw1MbvTM4mGtEzmZQm0ZWvM,139
431
+ airbyte_cdk-6.56.6.dist-info/RECORD,,