Skip to content

Commit 3cdd426

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint and format issues
1 parent ba33479 commit 3cdd426

File tree

5 files changed

+49
-50
lines changed

5 files changed

+49
-50
lines changed

airbyte_cdk/sources/declarative/extractors/record_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
RecordFilter as RecordFilterModel,
1515
)
1616
from airbyte_cdk.sources.declarative.parsers.component_constructor import (
17-
ComponentConstructor,
1817
AdditionalFlags,
18+
ComponentConstructor,
1919
)
2020
from airbyte_cdk.sources.types import Config, Record, StreamSlice, StreamState
2121

airbyte_cdk/sources/declarative/parsers/component_constructor.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77

88
from pydantic.v1 import BaseModel
99

10-
from airbyte_cdk.sources.message import MessageRepository
10+
from airbyte_cdk.sources.connector_state_manager import ConnectorStateManager
1111
from airbyte_cdk.sources.declarative.models.declarative_component_schema import ValueType
12+
from airbyte_cdk.sources.message import MessageRepository
1213
from airbyte_cdk.sources.types import Config
1314

14-
from airbyte_cdk.sources.connector_state_manager import ConnectorStateManager
15-
1615
M = TypeVar("M", bound=BaseModel)
1716

1817

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@
448448
ZipfileDecoder as ZipfileDecoderModel,
449449
)
450450
from airbyte_cdk.sources.declarative.parsers.component_constructor import (
451-
ComponentConstructor,
452451
AdditionalFlags,
452+
ComponentConstructor,
453453
)
454454
from airbyte_cdk.sources.declarative.parsers.custom_code_compiler import (
455455
COMPONENTS_MODULE_NAME,

airbyte_cdk/sources/declarative/requesters/query_properties/query_properties.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# Copyright (c) 2025 Airbyte, Inc., all rights reserved.
22

33
from dataclasses import InitVar, dataclass
4-
from typing import Any, Iterable, List, Mapping, Optional, Union, Callable
4+
from typing import Any, Callable, Iterable, List, Mapping, Optional, Union
55

6-
from airbyte_cdk.sources.declarative.requesters.query_properties import (
7-
PropertiesFromEndpoint,
8-
PropertyChunking,
9-
)
10-
from airbyte_cdk.sources.types import Config, StreamSlice
116
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
127
QueryProperties as QueryPropertiesModel,
138
)
149
from airbyte_cdk.sources.declarative.parsers.component_constructor import (
15-
ComponentConstructor,
1610
AdditionalFlags,
11+
ComponentConstructor,
12+
)
13+
from airbyte_cdk.sources.declarative.requesters.query_properties import (
14+
PropertiesFromEndpoint,
15+
PropertyChunking,
1716
)
17+
from airbyte_cdk.sources.types import Config, StreamSlice
1818

1919

2020
@dataclass

airbyte_cdk/sources/declarative/retrievers/simple_retriever.py

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from typing import (
1111
Any,
1212
Callable,
13+
Dict,
1314
Iterable,
1415
List,
1516
Mapping,
@@ -18,73 +19,72 @@
1819
Set,
1920
Tuple,
2021
Union,
21-
Dict,
2222
cast,
2323
)
2424

2525
import requests
26+
from pydantic import BaseModel
27+
from requests import Response
2628
from typing_extensions import deprecated
2729

2830
from airbyte_cdk.models import AirbyteMessage
31+
from airbyte_cdk.sources.declarative.decoders import JsonDecoder
2932
from airbyte_cdk.sources.declarative.extractors.http_selector import HttpSelector
30-
from airbyte_cdk.sources.declarative.incremental import ResumableFullRefreshCursor
33+
from airbyte_cdk.sources.declarative.incremental import (
34+
DatetimeBasedCursor,
35+
ResumableFullRefreshCursor,
36+
)
3137
from airbyte_cdk.sources.declarative.incremental.declarative_cursor import DeclarativeCursor
3238
from airbyte_cdk.sources.declarative.interpolation import InterpolatedString
33-
from airbyte_cdk.sources.declarative.partition_routers.single_partition_router import (
34-
SinglePartitionRouter,
35-
)
36-
from airbyte_cdk.sources.declarative.requesters.paginators.no_pagination import NoPagination
37-
from airbyte_cdk.sources.declarative.requesters.paginators.paginator import Paginator
38-
from airbyte_cdk.sources.declarative.requesters.query_properties import QueryProperties
39-
from airbyte_cdk.sources.declarative.requesters.request_options import (
40-
DefaultRequestOptionsProvider,
41-
RequestOptionsProvider,
42-
)
43-
from airbyte_cdk.sources.declarative.requesters.requester import Requester
44-
from airbyte_cdk.sources.declarative.retrievers.retriever import Retriever
45-
from airbyte_cdk.sources.declarative.stream_slicers.stream_slicer import StreamSlicer
46-
from airbyte_cdk.sources.http_logger import format_http_message
47-
from airbyte_cdk.sources.source import ExperimentalClassWarning
48-
from airbyte_cdk.sources.streams.core import StreamData
49-
from airbyte_cdk.sources.types import Config, Record, StreamSlice, StreamState
50-
from airbyte_cdk.utils.mapping_helpers import combine_mappings
5139
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
52-
SimpleRetriever as SimpleRetrieverModel,
53-
)
54-
from airbyte_cdk.sources.declarative.parsers.component_constructor import (
55-
ComponentConstructor,
56-
AdditionalFlags,
40+
CustomIncrementalSync as CustomIncrementalSyncModel,
5741
)
58-
from airbyte_cdk.sources.declarative.transformations import RecordTransformation
59-
from airbyte_cdk.sources.declarative.decoders import JsonDecoder
60-
from pydantic import BaseModel
61-
from airbyte_cdk.sources.declarative.retrievers.file_uploader import DefaultFileUploader
6242
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
63-
IncrementingCountCursor as IncrementingCountCursorModel,
43+
CustomRequester as CustomRequesterModel,
6444
)
6545
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
6646
DatetimeBasedCursor as DatetimeBasedCursorModel,
6747
)
68-
69-
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
70-
CustomIncrementalSync as CustomIncrementalSyncModel,
71-
)
72-
from requests import Response
7348
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
7449
HttpRequester as HttpRequesterModel,
7550
)
7651
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
77-
CustomRequester as CustomRequesterModel,
52+
IncrementingCountCursor as IncrementingCountCursorModel,
7853
)
7954
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
8055
QueryProperties as QueryPropertiesModel,
8156
)
82-
from airbyte_cdk.sources.declarative.requesters.query_properties import QueryProperties
83-
from airbyte_cdk.sources.declarative.incremental import DatetimeBasedCursor
57+
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
58+
SimpleRetriever as SimpleRetrieverModel,
59+
)
8460
from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
8561
SubstreamPartitionRouter as SubstreamPartitionRouterModel,
8662
)
63+
from airbyte_cdk.sources.declarative.parsers.component_constructor import (
64+
AdditionalFlags,
65+
ComponentConstructor,
66+
)
67+
from airbyte_cdk.sources.declarative.partition_routers.single_partition_router import (
68+
SinglePartitionRouter,
69+
)
70+
from airbyte_cdk.sources.declarative.requesters.paginators.no_pagination import NoPagination
71+
from airbyte_cdk.sources.declarative.requesters.paginators.paginator import Paginator
72+
from airbyte_cdk.sources.declarative.requesters.query_properties import QueryProperties
73+
from airbyte_cdk.sources.declarative.requesters.request_options import (
74+
DefaultRequestOptionsProvider,
75+
RequestOptionsProvider,
76+
)
77+
from airbyte_cdk.sources.declarative.requesters.requester import Requester
78+
from airbyte_cdk.sources.declarative.retrievers.file_uploader import DefaultFileUploader
79+
from airbyte_cdk.sources.declarative.retrievers.retriever import Retriever
8780
from airbyte_cdk.sources.declarative.stream_slicers import StreamSlicerTestReadDecorator
81+
from airbyte_cdk.sources.declarative.stream_slicers.stream_slicer import StreamSlicer
82+
from airbyte_cdk.sources.declarative.transformations import RecordTransformation
83+
from airbyte_cdk.sources.http_logger import format_http_message
84+
from airbyte_cdk.sources.source import ExperimentalClassWarning
85+
from airbyte_cdk.sources.streams.core import StreamData
86+
from airbyte_cdk.sources.types import Config, Record, StreamSlice, StreamState
87+
from airbyte_cdk.utils.mapping_helpers import combine_mappings
8888

8989
FULL_REFRESH_SYNC_COMPLETE_KEY = "__ab_full_refresh_sync_complete"
9090

0 commit comments

Comments
 (0)