Skip to content

Commit 2d8129b

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint and format issues
1 parent 0c27b96 commit 2d8129b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

airbyte_cdk/sources/declarative/extractors/record_filter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
33
#
44
from dataclasses import InitVar, dataclass
5-
from typing import Any, Iterable, Mapping, Optional, Union, Callable
5+
from typing import Any, Callable, Iterable, Mapping, Optional, Union
66

77
from airbyte_cdk.sources.declarative.incremental import (
88
DatetimeBasedCursor,
99
GlobalSubstreamCursor,
1010
PerPartitionWithGlobalCursor,
1111
)
1212
from airbyte_cdk.sources.declarative.interpolation.interpolated_boolean import InterpolatedBoolean
13-
from airbyte_cdk.sources.types import Config, Record, StreamSlice, StreamState
1413
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
1514
RecordFilter as RecordFilterModel,
1615
)
1716
from airbyte_cdk.sources.declarative.parsers.component_constructor import ComponentConstructor
17+
from airbyte_cdk.sources.types import Config, Record, StreamSlice, StreamState
1818

1919

2020
@dataclass

airbyte_cdk/sources/declarative/parsers/component_constructor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
from dataclasses import dataclass
66
from typing import Any, Callable, Generic, Mapping, Optional, Type, TypeVar
77

8+
from pydantic.v1 import BaseModel
9+
810
from airbyte_cdk.sources.declarative.models.declarative_component_schema import ValueType
911
from airbyte_cdk.sources.types import Config
10-
from pydantic.v1 import BaseModel
1112

1213
M = TypeVar("M", bound=BaseModel)
1314

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
MutableMapping,
1919
Optional,
2020
Type,
21+
TypeVar,
2122
Union,
2223
cast,
2324
get_args,
2425
get_origin,
2526
get_type_hints,
26-
TypeVar,
2727
)
2828

2929
from isodate import parse_duration
@@ -447,6 +447,7 @@
447447
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
448448
ZipfileDecoder as ZipfileDecoderModel,
449449
)
450+
from airbyte_cdk.sources.declarative.parsers.component_constructor import ComponentConstructor
450451
from airbyte_cdk.sources.declarative.parsers.custom_code_compiler import (
451452
COMPONENTS_MODULE_NAME,
452453
SDM_COMPONENTS_MODULE_NAME,
@@ -616,8 +617,6 @@
616617
from airbyte_cdk.sources.streams.http.error_handlers.response_models import ResponseAction
617618
from airbyte_cdk.sources.types import Config
618619
from airbyte_cdk.sources.utils.transform import TransformConfig, TypeTransformer
619-
from airbyte_cdk.sources.declarative.parsers.component_constructor import ComponentConstructor
620-
621620

622621
ComponentDefinition = Mapping[str, Any]
623622

0 commit comments

Comments
 (0)