Skip to content

Commit f2c993e

Browse files
committed
fix linter issues
1 parent 98af60c commit f2c993e

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
@@ -15,7 +15,7 @@
1515
from airbyte_cdk.sources.declarative.schema.schema_loader import SchemaLoader
1616
from airbyte_cdk.sources.declarative.transformations import RecordTransformation
1717
from airbyte_cdk.sources.source import ExperimentalClassWarning
18-
from airbyte_cdk.sources.types import Config, StreamSlice, StreamState
18+
from airbyte_cdk.sources.types import Config
1919

2020
AIRBYTE_DATA_TYPES: Mapping[str, MutableMapping[str, Any]] = {
2121
"string": {"type": ["null", "string"]},
@@ -299,7 +299,7 @@ def _get_airbyte_type(field_type: str) -> Dict[str, Any]:
299299
if field_type not in AIRBYTE_DATA_TYPES:
300300
raise ValueError(f"Invalid Airbyte data type: {field_type}")
301301

302-
return deepcopy(AIRBYTE_DATA_TYPES[field_type])
302+
return deepcopy(AIRBYTE_DATA_TYPES[field_type]) # type: ignore # a copy of a dict should be a dict, not a MutableMapping
303303

304304
def _extract_data(
305305
self,

0 commit comments

Comments
 (0)