Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move SQLConnector into a separate module, for use by both SQLStream and SQLSink #1091

Merged
merged 11 commits into from
Oct 24, 2022
9 changes: 2 additions & 7 deletions singer_sdk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
"""SDK for building Singer taps."""

from singer_sdk import streams
from singer_sdk.connectors import SQLConnector
from singer_sdk.mapper_base import InlineMapper
from singer_sdk.plugin_base import PluginBase
from singer_sdk.sinks import BatchSink, RecordSink, Sink, SQLSink
from singer_sdk.streams import (
GraphQLStream,
RESTStream,
SQLConnector,
SQLStream,
Stream,
)
from singer_sdk.streams import GraphQLStream, RESTStream, SQLStream, Stream
from singer_sdk.tap_base import SQLTap, Tap
from singer_sdk.target_base import SQLTarget, Target

Expand Down
5 changes: 5 additions & 0 deletions singer_sdk/connectors/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""Module for SQL-related operations."""

from .sql import SQLConnector

__all__ = ["SQLConnector"]
Loading