airbyte-cdk 6.58.1.post4.dev16275471665__py3-none-any.whl → 6.59.1__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.
@@ -1339,8 +1339,8 @@ definitions:
1339
1339
  examples:
1340
1340
  - "%Y-%m-%d %H:%M:%S.%f+00:00"
1341
1341
  refresh_token_updater:
1342
- title: Token Updater
1343
- description: When the token updater is defined, new refresh tokens, access tokens and the access token expiry date are written back from the authentication response to the config object. This is important if the refresh token can only used once.
1342
+ title: Refresh Token Updater
1343
+ description: When the refresh token updater is defined, new refresh tokens, access tokens and the access token expiry date are written back from the authentication response to the config object. This is important if the refresh token can only used once.
1344
1344
  properties:
1345
1345
  refresh_token_name:
1346
1346
  title: Refresh Token Property Name
@@ -3398,6 +3398,7 @@ definitions:
3398
3398
  description: Array of paths defining the field to remove. Each item is an array whose field describe the path of a field to remove.
3399
3399
  type: array
3400
3400
  items:
3401
+ type: array
3401
3402
  items:
3402
3403
  type: string
3403
3404
  examples:
@@ -3424,6 +3425,19 @@ definitions:
3424
3425
  type:
3425
3426
  type: string
3426
3427
  enum: [RequestOption]
3428
+ inject_into:
3429
+ title: Inject Into
3430
+ description: Configures where the descriptor should be set on the HTTP requests. Note that request parameters that are already encoded in the URL path will not be duplicated.
3431
+ enum:
3432
+ - request_parameter
3433
+ - header
3434
+ - body_data
3435
+ - body_json
3436
+ examples:
3437
+ - request_parameter
3438
+ - header
3439
+ - body_data
3440
+ - body_json
3427
3441
  field_name:
3428
3442
  title: Field Name
3429
3443
  description: Configures which key should be used in the location that the descriptor is being injected into. We hope to eventually deprecate this field in favor of `field_path` for all request_options, but must currently maintain it for backwards compatibility in the Builder.
@@ -3444,19 +3458,6 @@ definitions:
3444
3458
  interpolation_context:
3445
3459
  - config
3446
3460
  - parameters
3447
- inject_into:
3448
- title: Inject Into
3449
- description: Configures where the descriptor should be set on the HTTP requests. Note that request parameters that are already encoded in the URL path will not be duplicated.
3450
- enum:
3451
- - request_parameter
3452
- - header
3453
- - body_data
3454
- - body_json
3455
- examples:
3456
- - request_parameter
3457
- - header
3458
- - body_data
3459
- - body_json
3460
3461
  Schemas:
3461
3462
  title: Schemas
3462
3463
  description: The stream schemas representing the shape of the data emitted by the stream.
@@ -3835,7 +3836,12 @@ definitions:
3835
3836
  title: Config Normalization Rules
3836
3837
  type: object
3837
3838
  additionalProperties: false
3839
+ required:
3840
+ - type
3838
3841
  properties:
3842
+ type:
3843
+ type: string
3844
+ enum: [ConfigNormalizationRules]
3839
3845
  config_migrations:
3840
3846
  title: Config Migrations
3841
3847
  description: The discrete migrations that will be applied on the incoming config. Each migration will be applied in the order they are defined.
@@ -4541,6 +4547,7 @@ definitions:
4541
4547
  description: A list of field pointers to be removed from the config.
4542
4548
  type: array
4543
4549
  items:
4550
+ type: array
4544
4551
  items:
4545
4552
  type: string
4546
4553
  examples:
@@ -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
 
@@ -160,20 +158,6 @@ class CustomBackoffStrategy(BaseModel):
160
158
  parameters: Optional[Dict[str, Any]] = Field(None, alias="$parameters")
161
159
 
162
160
 
163
- class CustomConfigTransformation(BaseModel):
164
- class Config:
165
- extra = Extra.allow
166
-
167
- type: Literal["CustomConfigTransformation"]
168
- class_name: str = Field(
169
- ...,
170
- description="Fully-qualified name of the class that will be implementing the custom config transformation. The format is `source_<name>.<package>.<class_name>`.",
171
- examples=["source_declarative_manifest.components.MyCustomConfigTransformation"],
172
- title="Class Name",
173
- )
174
- parameters: Optional[Dict[str, Any]] = Field(None, alias="$parameters")
175
-
176
-
177
161
  class CustomErrorHandler(BaseModel):
178
162
  class Config:
179
163
  extra = Extra.allow
@@ -651,8 +635,8 @@ class OAuthAuthenticator(BaseModel):
651
635
  )
652
636
  refresh_token_updater: Optional[RefreshTokenUpdater] = Field(
653
637
  None,
654
- description="When the token updater is defined, new refresh tokens, access tokens and the access token expiry date are written back from the authentication response to the config object. This is important if the refresh token can only used once.",
655
- title="Token Updater",
638
+ description="When the refresh token updater is defined, new refresh tokens, access tokens and the access token expiry date are written back from the authentication response to the config object. This is important if the refresh token can only used once.",
639
+ title="Refresh Token Updater",
656
640
  )
657
641
  profile_assertion: Optional[JwtAuthenticator] = Field(
658
642
  None,
@@ -1321,6 +1305,12 @@ class InjectInto(Enum):
1321
1305
 
1322
1306
  class RequestOption(BaseModel):
1323
1307
  type: Literal["RequestOption"]
1308
+ inject_into: InjectInto = Field(
1309
+ ...,
1310
+ description="Configures where the descriptor should be set on the HTTP requests. Note that request parameters that are already encoded in the URL path will not be duplicated.",
1311
+ examples=["request_parameter", "header", "body_data", "body_json"],
1312
+ title="Inject Into",
1313
+ )
1324
1314
  field_name: Optional[str] = Field(
1325
1315
  None,
1326
1316
  description="Configures which key should be used in the location that the descriptor is being injected into. We hope to eventually deprecate this field in favor of `field_path` for all request_options, but must currently maintain it for backwards compatibility in the Builder.",
@@ -1333,12 +1323,6 @@ class RequestOption(BaseModel):
1333
1323
  examples=[["data", "viewer", "id"]],
1334
1324
  title="Field Path",
1335
1325
  )
1336
- inject_into: InjectInto = Field(
1337
- ...,
1338
- description="Configures where the descriptor should be set on the HTTP requests. Note that request parameters that are already encoded in the URL path will not be duplicated.",
1339
- examples=["request_parameter", "header", "body_data", "body_json"],
1340
- title="Inject Into",
1341
- )
1342
1326
 
1343
1327
 
1344
1328
  class Schemas(BaseModel):
@@ -1657,6 +1641,20 @@ class ConfigRemoveFields(BaseModel):
1657
1641
  )
1658
1642
 
1659
1643
 
1644
+ class CustomConfigTransformation(BaseModel):
1645
+ type: Literal["CustomConfigTransformation"]
1646
+ class_name: str = Field(
1647
+ ...,
1648
+ description="Fully-qualified name of the class that will be implementing the custom config transformation. The format is `source_<name>.<package>.<class_name>`.",
1649
+ examples=["source_declarative_manifest.components.MyCustomConfigTransformation"],
1650
+ )
1651
+ parameters: Optional[Dict[str, Any]] = Field(
1652
+ None,
1653
+ alias="$parameters",
1654
+ description="Additional parameters to be passed to the custom config transformation.",
1655
+ )
1656
+
1657
+
1660
1658
  class AddedFieldDefinition(BaseModel):
1661
1659
  type: Literal["AddedFieldDefinition"]
1662
1660
  path: List[str] = Field(
@@ -2164,7 +2162,12 @@ class ConfigMigration(BaseModel):
2164
2162
  None, description="The description/purpose of the config migration."
2165
2163
  )
2166
2164
  transformations: List[
2167
- Union[ConfigRemapField, ConfigAddFields, ConfigRemoveFields, CustomConfigTransformation]
2165
+ Union[
2166
+ ConfigRemapField,
2167
+ ConfigAddFields,
2168
+ ConfigRemoveFields,
2169
+ CustomConfigTransformation,
2170
+ ]
2168
2171
  ] = Field(
2169
2172
  ...,
2170
2173
  description="The list of transformations that will attempt to be applied on an incoming unmigrated config. The transformations will be applied in the order they are defined.",
@@ -2176,6 +2179,7 @@ class ConfigNormalizationRules(BaseModel):
2176
2179
  class Config:
2177
2180
  extra = Extra.forbid
2178
2181
 
2182
+ type: Literal["ConfigNormalizationRules"]
2179
2183
  config_migrations: Optional[List[ConfigMigration]] = Field(
2180
2184
  [],
2181
2185
  description="The discrete migrations that will be applied on the incoming config. Each migration will be applied in the order they are defined.",
@@ -2183,7 +2187,12 @@ class ConfigNormalizationRules(BaseModel):
2183
2187
  )
2184
2188
  transformations: Optional[
2185
2189
  List[
2186
- Union[ConfigRemapField, ConfigAddFields, ConfigRemoveFields, CustomConfigTransformation]
2190
+ Union[
2191
+ ConfigRemapField,
2192
+ ConfigAddFields,
2193
+ ConfigRemoveFields,
2194
+ CustomConfigTransformation,
2195
+ ]
2187
2196
  ]
2188
2197
  ] = Field(
2189
2198
  [],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.58.1.post4.dev16275471665
3
+ Version: 6.59.1
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -90,7 +90,7 @@ airbyte_cdk/sources/declarative/concurrent_declarative_source.py,sha256=rQz9gXp3
90
90
  airbyte_cdk/sources/declarative/datetime/__init__.py,sha256=4Hw-PX1-VgESLF16cDdvuYCzGJtHntThLF4qIiULWeo,61
91
91
  airbyte_cdk/sources/declarative/datetime/datetime_parser.py,sha256=_zGNGq31RNy_0QBLt_EcTvgPyhj7urPdx6oA3M5-r3o,3150
92
92
  airbyte_cdk/sources/declarative/datetime/min_max_datetime.py,sha256=0BHBtDNQZfvwM45-tY5pNlTcKAFSGGNxemoi0Jic-0E,5785
93
- airbyte_cdk/sources/declarative/declarative_component_schema.yaml,sha256=7iP5eTOXCp49H93UOZDYKC_0D6wC-mgecboFAZAUUo8,182238
93
+ airbyte_cdk/sources/declarative/declarative_component_schema.yaml,sha256=2-o4Lj-a-9maW6E3ilzrbww11r13feTlzRDEp9SMz9Q,182419
94
94
  airbyte_cdk/sources/declarative/declarative_source.py,sha256=qmyMnnet92eGc3C22yBtpvD5UZjqdhsAafP_zxI5wp8,1814
95
95
  airbyte_cdk/sources/declarative/declarative_stream.py,sha256=dCRlddBUSaJmBNBz1pSO1r2rTw8AP5d2_vlmIeGs2gg,10767
96
96
  airbyte_cdk/sources/declarative/decoders/__init__.py,sha256=JHb_0d3SE6kNY10mxA5YBEKPeSbsWYjByq1gUQxepoE,953
@@ -134,7 +134,7 @@ airbyte_cdk/sources/declarative/migrations/legacy_to_per_partition_state_migrati
134
134
  airbyte_cdk/sources/declarative/migrations/state_migration.py,sha256=KWPjealMLKSMtajXgkdGgKg7EmTLR-CqqD7UIh0-eDU,794
135
135
  airbyte_cdk/sources/declarative/models/__init__.py,sha256=nUFxNCiKeYRVXuZEKA7GD-lTHxsiKcQ8FitZjKhPIvE,100
136
136
  airbyte_cdk/sources/declarative/models/base_model_with_deprecations.py,sha256=Imnj3yef0aqRdLfaUxkIYISUb8YkiPrRH_wBd-x8HjM,5999
137
- airbyte_cdk/sources/declarative/models/declarative_component_schema.py,sha256=xkhUeuSDmyBPm8Bdlp2my5yG8m-D1UaTIuGdbI7oLfQ,128499
137
+ airbyte_cdk/sources/declarative/models/declarative_component_schema.py,sha256=jH-UWVRMRscB6dMkB9I_ooBrOpntbWeybMid73vLx10,128684
138
138
  airbyte_cdk/sources/declarative/parsers/__init__.py,sha256=ZnqYNxHsKCgO38IwB34RQyRMXTs4GTvlRi3ImKnIioo,61
139
139
  airbyte_cdk/sources/declarative/parsers/custom_code_compiler.py,sha256=nlVvHC511NUyDEEIRBkoeDTAvLqKNp-hRy8D19z8tdk,5941
140
140
  airbyte_cdk/sources/declarative/parsers/custom_exceptions.py,sha256=wnRUP0Xeru9Rbu5OexXSDN9QWDo8YU4tT9M2LDVOgGA,802
@@ -424,9 +424,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
424
424
  airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
425
425
  airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
426
426
  airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
427
- airbyte_cdk-6.58.1.post4.dev16275471665.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
428
- airbyte_cdk-6.58.1.post4.dev16275471665.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
429
- airbyte_cdk-6.58.1.post4.dev16275471665.dist-info/METADATA,sha256=_1QzMe26G-qQuecfT6YQ8IS6ZZEuhdScCF1-A8-lG9Q,6498
430
- airbyte_cdk-6.58.1.post4.dev16275471665.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
431
- airbyte_cdk-6.58.1.post4.dev16275471665.dist-info/entry_points.txt,sha256=AKWbEkHfpzzk9nF9tqBUaw1MbvTM4mGtEzmZQm0ZWvM,139
432
- airbyte_cdk-6.58.1.post4.dev16275471665.dist-info/RECORD,,
427
+ airbyte_cdk-6.59.1.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
428
+ airbyte_cdk-6.59.1.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
429
+ airbyte_cdk-6.59.1.dist-info/METADATA,sha256=ywBFGY1vYWXqxOKxPhw16UZDmpiwmbUYDW3LFrPDPXU,6477
430
+ airbyte_cdk-6.59.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
431
+ airbyte_cdk-6.59.1.dist-info/entry_points.txt,sha256=AKWbEkHfpzzk9nF9tqBUaw1MbvTM4mGtEzmZQm0ZWvM,139
432
+ airbyte_cdk-6.59.1.dist-info/RECORD,,