Skip to content

Commit

Permalink
refactor: Move SQLConnector into a separate module, for use by both S…
Browse files Browse the repository at this point in the history
…QLStream and SQLSink (#1091)

Co-authored-by: Edgar R. M <edgar@meltano.com>
  • Loading branch information
Ken Payne and edgarrmondragon authored Oct 24, 2022
1 parent 37595ec commit 2bc7875
Show file tree
Hide file tree
Showing 7 changed files with 938 additions and 940 deletions.
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

0 comments on commit 2bc7875

Please sign in to comment.