Skip to content

Commit 2ff96b0

Browse files
committed
Fix typo
1 parent bf913dd commit 2ff96b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

airbyte_cdk/sources/declarative/schema/dynamic_schema_loader.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)