We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 427423e commit d982ffeCopy full SHA for d982ffe
airbyte_cdk/sources/utils/transform.py
@@ -231,12 +231,6 @@ def _get_type_structure(input_data: Any) -> Any:
231
key: _get_type_structure(field_value) for key, field_value in input_data.items()
232
}
233
return f"object with structure {structure}"
234
- elif isinstance(input_data, list):
235
- if not input_data:
236
- # Handle empty array
237
- return "array"
238
- items = [_get_type_structure(item) for item in input_data]
239
- return f"array with structure {items}"
240
else:
241
return python_to_json[type(input_data)]
242
0 commit comments