Skip to content

Commit 3ac51d5

Browse files
fix typing
1 parent 3293d03 commit 3ac51d5

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

airbyte_cdk/sources/declarative/declarative_component_schema.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,9 +1764,7 @@ definitions:
17641764
items:
17651765
type: string
17661766
condition:
1767-
anyOf:
1768-
- type: string
1769-
- type: boolean
1767+
type: string
17701768
interpolation_context:
17711769
- raw_schema
17721770
SchemaTypeIdentifier:

airbyte_cdk/sources/declarative/models/declarative_component_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ class HttpResponseFilter(BaseModel):
699699
class TypesMap(BaseModel):
700700
target_type: Union[str, List[str]]
701701
current_type: Union[str, List[str]]
702-
condition: Optional[Union[str, bool]]
702+
condition: Optional[str]
703703

704704

705705
class SchemaTypeIdentifier(BaseModel):

airbyte_cdk/sources/declarative/schema/dynamic_schema_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class TypesMap:
5454

5555
target_type: Union[List[str], str]
5656
current_type: Union[List[str], str]
57-
condition: Optional[Union[str, bool]]
57+
condition: Optional[str]
5858

5959

6060
@deprecated("This class is experimental. Use at your own risk.", category=ExperimentalClassWarning)

0 commit comments

Comments
 (0)