File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
airbyte_cdk/sources/declarative/schema Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ class TypesMap:
6868 condition : Optional [str ]
6969 items_type : Optional [ItemsTypeMap ] = None
7070
71- def __post_init__ (self ):
71+ def __post_init__ (self ) -> None :
7272 """
7373 Enforces that `items_type` is only used when `target_type` is a array
7474 """
@@ -222,7 +222,7 @@ def _replace_type_if_not_valid(
222222 self ,
223223 field_type : Union [List [str ], str ],
224224 raw_schema : MutableMapping [str , Any ],
225- ) -> Tuple [Union [List [str ], str ], List ]:
225+ ) -> Tuple [Union [List [str ], str ], List [ str ] ]:
226226 """
227227 Replaces a field type if it matches a type mapping in `types_map`.
228228 """
@@ -257,7 +257,7 @@ def _replace_type_if_not_valid(
257257
258258 @staticmethod
259259 def _get_airbyte_type (
260- field_type : str , additional_types : Optional [List ] = None
260+ field_type : str , additional_types : Optional [List [ str ] ] = None
261261 ) -> Mapping [str , Any ]:
262262 """
263263 Maps a field type to its corresponding Airbyte type definition.
You can’t perform that action at this time.
0 commit comments