We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12a653d commit 73bda55Copy full SHA for 73bda55
airbyte_cdk/sources/declarative/schema/dynamic_schema_loader.py
@@ -221,7 +221,7 @@ def _get_type(
221
222
def _resolve_complex_type(self, complex_type: ComplexFieldType) -> Mapping[str, Any]:
223
types = [complex_type]
224
- resolved_type = {}
+ resolved_type: MutableMapping[str, Any] = {}
225
226
while types:
227
current_type = types.pop()
@@ -244,7 +244,7 @@ def _replace_type_if_not_valid(
244
self,
245
field_type: Union[List[str], str],
246
raw_schema: MutableMapping[str, Any],
247
- ) -> Union[List[str], str]:
+ ) -> Union[List[str], str, ComplexFieldType]:
248
"""
249
Replaces a field type if it matches a type mapping in `types_map`.
250
0 commit comments