airbyte-cdk 6.58.1.post4.dev16275471665__py3-none-any.whl → 6.59.0__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
@@ -3424,6 +3424,19 @@ definitions:
3424
3424
  type:
3425
3425
  type: string
3426
3426
  enum: [RequestOption]
3427
+ inject_into:
3428
+ title: Inject Into
3429
+ 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.
3430
+ enum:
3431
+ - request_parameter
3432
+ - header
3433
+ - body_data
3434
+ - body_json
3435
+ examples:
3436
+ - request_parameter
3437
+ - header
3438
+ - body_data
3439
+ - body_json
3427
3440
  field_name:
3428
3441
  title: Field Name
3429
3442
  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 +3457,6 @@ definitions:
3444
3457
  interpolation_context:
3445
3458
  - config
3446
3459
  - 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
3460
  Schemas:
3461
3461
  title: Schemas
3462
3462
  description: The stream schemas representing the shape of the data emitted by the stream.
@@ -3835,7 +3835,12 @@ definitions:
3835
3835
  title: Config Normalization Rules
3836
3836
  type: object
3837
3837
  additionalProperties: false
3838
+ required:
3839
+ - type
3838
3840
  properties:
3841
+ type:
3842
+ type: string
3843
+ enum: [ConfigNormalizationRules]
3839
3844
  config_migrations:
3840
3845
  title: Config Migrations
3841
3846
  description: The discrete migrations that will be applied on the incoming config. Each migration will be applied in the order they are defined.
@@ -651,8 +651,8 @@ class OAuthAuthenticator(BaseModel):
651
651
  )
652
652
  refresh_token_updater: Optional[RefreshTokenUpdater] = Field(
653
653
  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",
654
+ 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.",
655
+ title="Refresh Token Updater",
656
656
  )
657
657
  profile_assertion: Optional[JwtAuthenticator] = Field(
658
658
  None,
@@ -1321,6 +1321,12 @@ class InjectInto(Enum):
1321
1321
 
1322
1322
  class RequestOption(BaseModel):
1323
1323
  type: Literal["RequestOption"]
1324
+ inject_into: InjectInto = Field(
1325
+ ...,
1326
+ 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.",
1327
+ examples=["request_parameter", "header", "body_data", "body_json"],
1328
+ title="Inject Into",
1329
+ )
1324
1330
  field_name: Optional[str] = Field(
1325
1331
  None,
1326
1332
  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 +1339,6 @@ class RequestOption(BaseModel):
1333
1339
  examples=[["data", "viewer", "id"]],
1334
1340
  title="Field Path",
1335
1341
  )
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
1342
 
1343
1343
 
1344
1344
  class Schemas(BaseModel):
@@ -2176,6 +2176,7 @@ class ConfigNormalizationRules(BaseModel):
2176
2176
  class Config:
2177
2177
  extra = Extra.forbid
2178
2178
 
2179
+ type: Literal["ConfigNormalizationRules"]
2179
2180
  config_migrations: Optional[List[ConfigMigration]] = Field(
2180
2181
  [],
2181
2182
  description="The discrete migrations that will be applied on the incoming config. Each migration will be applied in the order they are defined.",
@@ -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.0
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=8jgnKtqGngGnHvi5kBGXiFGFPvoEGb1ARRaeioiW9EY,182375
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=Vh8rOUCPAdgtyZP1_2-86HA14opb48VNPsUUnK3cZM0,128561
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.0.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
428
+ airbyte_cdk-6.59.0.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
429
+ airbyte_cdk-6.59.0.dist-info/METADATA,sha256=qLGTtKRqlZWoljOg4KJ4zyU0zuVaykkMztQcr4whzhQ,6477
430
+ airbyte_cdk-6.59.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
431
+ airbyte_cdk-6.59.0.dist-info/entry_points.txt,sha256=AKWbEkHfpzzk9nF9tqBUaw1MbvTM4mGtEzmZQm0ZWvM,139
432
+ airbyte_cdk-6.59.0.dist-info/RECORD,,