Skip to content

Commit

Permalink
airbyte-cdk: add DynamicSchemaLoader as an option of schema_loader
Browse files Browse the repository at this point in the history
  • Loading branch information
aldogonzalez8 committed Dec 11, 2024
1 parent 9b87978 commit ee27466
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1221,6 +1221,7 @@ definitions:
- "$ref": "#/definitions/InlineSchemaLoader"
- "$ref": "#/definitions/JsonFileSchemaLoader"
- "$ref": "#/definitions/CustomSchemaLoader"
- "$ref": "#/definitions/DynamicSchemaLoader"
# TODO we have move the transformation to the RecordSelector level in the code but kept this here for
# compatibility reason. We should eventually move this to align with the code.
transformations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1635,7 +1635,7 @@ class Config:
primary_key: Optional[PrimaryKey] = Field(
"", description="The primary key of the stream.", title="Primary Key"
)
schema_loader: Optional[Union[InlineSchemaLoader, JsonFileSchemaLoader, CustomSchemaLoader]] = (
schema_loader: Optional[Union[InlineSchemaLoader, JsonFileSchemaLoader, CustomSchemaLoader, DynamicSchemaLoader]] = (
Field(
None,
description="Component used to retrieve the schema for the current stream.",
Expand Down

0 comments on commit ee27466

Please sign in to comment.