Skip to content

Commit 0b02e76

Browse files
committed
fix errant imports
1 parent 7646d22 commit 0b02e76

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

airbyte_cdk/entrypoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ def run(self, parsed_args: argparse.Namespace) -> Iterable[str]:
166166
self.logger.setLevel(logging.INFO)
167167

168168
source_spec: ConnectorSpecification = self.source.spec(self.logger)
169-
170169
try:
171170
with tempfile.TemporaryDirectory(
172171
# Cleanup can fail on Windows due to file locks. Ignore if so,
@@ -186,6 +185,7 @@ def run(self, parsed_args: argparse.Namespace) -> Iterable[str]:
186185
else:
187186
raw_config = self.source.read_config(parsed_args.config)
188187
config = self.source.configure(raw_config, temp_dir)
188+
189189
yield from [
190190
self.airbyte_message_to_string(queued_message)
191191
for queued_message in self._emit_queued_messages(self.source)

airbyte_cdk/sources/declarative/manifest_declarative_source.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
2+
# Copyright (c) 2025 Airbyte, Inc., all rights reserved.
33
#
44

55
import json
@@ -8,7 +8,7 @@
88
from copy import deepcopy
99
from importlib import metadata
1010
from types import ModuleType
11-
from typing import Any, Dict, Iterator, List, Mapping, MutableMapping, Optional, Set
11+
from typing import Any, Dict, Iterator, List, Mapping, Optional, Set
1212

1313
import orjson
1414
import yaml
@@ -62,7 +62,6 @@
6262
from airbyte_cdk.sources.declarative.resolvers import COMPONENTS_RESOLVER_TYPE_MAPPING
6363
from airbyte_cdk.sources.declarative.spec.spec import Spec
6464
from airbyte_cdk.sources.message import MessageRepository
65-
from airbyte_cdk.sources.message.repository import InMemoryMessageRepository
6665
from airbyte_cdk.sources.streams.core import Stream
6766
from airbyte_cdk.sources.types import ConnectionDefinition
6867
from airbyte_cdk.sources.utils.slice_logger import (

airbyte_cdk/sources/source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import logging
77
from abc import ABC, abstractmethod
8-
from typing import Any, Generic, Iterable, List, Mapping, MutableMapping, Optional, TypeVar
8+
from typing import Any, Generic, Iterable, List, Mapping, Optional, TypeVar
99

1010
from airbyte_cdk.connector import BaseConnector, DefaultConnectorMixin, TConfig
1111
from airbyte_cdk.models import (

0 commit comments

Comments
 (0)