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

feat(deps): bump singer-sdk from 0.38.0 to 0.39.0 #97

Merged
merged 2 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 9 additions & 27 deletions poetry.lock

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

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ keywords = [
"ELT",
"DynamoDB",
]
license = "Apache 2.0"
license = "Apache-2.0"
packages = [
{ include = "tap_dynamodb" },
]

[tool.poetry.dependencies]
python = ">=3.8"
singer-sdk = { version="^0.38.0" }
singer-sdk = { version="^0.39.0" }
fs-s3fs = { version = "^1.1.1", optional = true }
boto3 = "^1.34.136"
genson = "^1.3.0"
Expand All @@ -29,7 +29,7 @@ black = "^24.4.2"
pyupgrade = "^3.3.1"
mypy = "^1.10.1"
isort = "^5.11.5"
singer-sdk = { version="^0.38.0", extras = ["testing"] }
singer-sdk = { version="^0.39.0", extras = ["testing"] }
moto = "^5.0.10"
coverage = "^7.5.4"
pydocstyle = "^6.3.0"
Expand Down
7 changes: 5 additions & 2 deletions tap_dynamodb/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

from __future__ import annotations

from typing import Iterable
from typing import TYPE_CHECKING, Iterable

from singer_sdk.streams import Stream
from singer_sdk.tap_base import Tap

from tap_dynamodb.dynamodb_connector import DynamoDbConnector

if TYPE_CHECKING:
from singer_sdk.helpers.types import Context


class TableStream(Stream):
"""Stream class for TableStream streams."""
Expand Down Expand Up @@ -56,7 +59,7 @@ def __init__(
else:
super().__init__(name=name, tap=tap)

def get_records(self, context: dict | None) -> Iterable[dict]:
def get_records(self, context: Context | None) -> Iterable[dict]:
for batch in self._dynamodb_conn.get_items_iter(
self._table_name,
self._table_scan_kwargs,
Expand Down