Skip to content

Commit 5e71790

Browse files
deleted _json_schema_type_name_to_type from ComponentConstructor class
1 parent 3d48eb0 commit 5e71790

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

airbyte_cdk/sources/declarative/parsers/component_constructor.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,3 @@ def build(
8888
# returns the instance of the component class,
8989
# with resolved dependencies and model-specific arguments.
9090
return cls(**resolved_dependencies)
91-
92-
@staticmethod
93-
def _json_schema_type_name_to_type(value_type: Optional[ValueType]) -> Optional[Type[Any]]:
94-
if not value_type:
95-
return None
96-
names_to_types = {
97-
ValueType.string: str,
98-
ValueType.number: float,
99-
ValueType.integer: int,
100-
ValueType.boolean: bool,
101-
}
102-
return names_to_types[value_type]

0 commit comments

Comments
 (0)