Skip to content

Commit 73bda55

Browse files
committed
Fix mypy
1 parent 12a653d commit 73bda55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

airbyte_cdk/sources/declarative/schema/dynamic_schema_loader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def _get_type(
221221

222222
def _resolve_complex_type(self, complex_type: ComplexFieldType) -> Mapping[str, Any]:
223223
types = [complex_type]
224-
resolved_type = {}
224+
resolved_type: MutableMapping[str, Any] = {}
225225

226226
while types:
227227
current_type = types.pop()
@@ -244,7 +244,7 @@ def _replace_type_if_not_valid(
244244
self,
245245
field_type: Union[List[str], str],
246246
raw_schema: MutableMapping[str, Any],
247-
) -> Union[List[str], str]:
247+
) -> Union[List[str], str, ComplexFieldType]:
248248
"""
249249
Replaces a field type if it matches a type mapping in `types_map`.
250250
"""

0 commit comments

Comments
 (0)