Skip to content

Commit

Permalink
test: Test with singer-sdk @ main
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Sep 16, 2024
1 parent b68beb3 commit 50e2acb
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
38 changes: 19 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ snowflake-connector-python = { version = "<4.0.0", extras = ["secure-local-stora
sqlalchemy = "~=2.0.31"

[tool.poetry.dependencies.singer-sdk]
version = "~=0.40.0a1"
git = "https://github.com/meltano/sdk.git"

[tool.poetry.group.dev.dependencies]
coverage = ">=7.2.7"
pytest = ">=7.4.3"
pytest-xdist = ">=3.3.1"

[tool.poetry.group.dev.dependencies.singer-sdk]
version="~=0.40.0a1"
git = "https://github.com/meltano/sdk.git"
extras = ["testing"]

[tool.ruff]
Expand Down
4 changes: 2 additions & 2 deletions target_snowflake/sinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from target_snowflake.connector import SnowflakeConnector

if t.TYPE_CHECKING:
from singer_sdk import PluginBase, SQLConnector
from singer_sdk import PluginBase

DEFAULT_BATCH_CONFIG = {
"encoding": {"format": "jsonl", "compression": "gzip"},
Expand All @@ -40,7 +40,7 @@ def __init__(
stream_name: str,
schema: dict,
key_properties: list[str] | None,
connector: SQLConnector | None = None,
connector: SnowflakeConnector | None = None,
) -> None:
"""Initialize Snowflake Sink."""
self.target = target
Expand Down

0 comments on commit 50e2acb

Please sign in to comment.