Skip to content

DynamoDBLoader endpoint_url + real DynamoDB Local & Azurite tests — #829/#855 - #856

Merged
AmitoVrito merged 2 commits into
mainfrom
feat/issue-829-testcontainers-loaders-cloud
Jul 21, 2026
Merged

AmitoVrito merged 2 commits into
mainfrom
feat/issue-829-testcontainers-loaders-cloud

Conversation

@AmitoVrito

Copy link
Copy Markdown
Collaborator

Summary

DynamoDBLoader (src/synapsekit/loaders/dynamodb.py) had no endpoint_url parameter — so it could only reach real AWS DynamoDB, not DynamoDB Local or LocalStack (and couldn't be tested without live AWS). Found while adding real testcontainers loader coverage (epic #829).

Change (additive, non-breaking)

Add an optional endpoint_url: str | None = None parameter, forwarded to the boto3 DynamoDB resource. Enables DynamoDB Local / LocalStack and any DynamoDB-compatible endpoint.

Test

Real amazon/dynamodb-local testcontainer: scan into Documents with text/metadata attribute selection, max_items, sync + async, async contract. Runs in the CI integration job. (AzureBlobLoader was also given real Azurite tests in the same PR and is correct as-is.)

Part of epic #829.

AmitoVrito and others added 2 commits July 22, 2026 01:21
…urite tests (#855)

DynamoDBLoader could only reach real AWS DynamoDB (no endpoint_url), so DynamoDB
Local and LocalStack were unusable and it couldn't be tested without live AWS. Add
an optional endpoint_url parameter (additive, non-breaking). Adds real
amazon/dynamodb-local tests (scan, text/metadata attributes, max_items, async) and
real Azurite tests for AzureBlobLoader (correct as-is; the integration group pins
azure-storage-blob to a version Azurite's API supports).

Part of #829. Closes #855.

Co-authored-by: Dhruv Garg <[email protected]>
@AmitoVrito
AmitoVrito merged commit 67c4a86 into main Jul 21, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant