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

DynamoDB: Add support for TransactWriteItems for boto3 resource #2373

Open
perera-p opened this issue Apr 30, 2021 · 3 comments · May be fixed by boto/boto3#4010
Open

DynamoDB: Add support for TransactWriteItems for boto3 resource #2373

perera-p opened this issue Apr 30, 2021 · 3 comments · May be fixed by boto/boto3#4010
Labels
dynamodb feature-request This issue requests a feature. p2 This is a standard priority issue

Comments

@perera-p
Copy link

We are using boto3 resource for dynamodb actions and TransactWriteItems would be incremental to make our db transactions robust. However the service resource does not support transact_write_items

It would be great if you can add this feature.

@perera-p perera-p added feature-request This issue requests a feature. needs-triage This issue or PR still needs to be triaged. labels Apr 30, 2021
@kdaily kdaily removed the needs-triage This issue or PR still needs to be triaged. label Apr 30, 2021
@kdaily
Copy link
Member

kdaily commented Apr 30, 2021

Thanks for the feature request, @perera-p!

@lpsinger
Copy link

lpsinger commented Feb 6, 2024

I need this for my project too. Should be fixed by: boto/boto3#4010

@refeed
Copy link

refeed commented Mar 27, 2025

Any status update on this? Could someone take a look to the PR provided by @lpsinger ?

Currently, it's annoying to use the client interface, because we need to provide the types for each attributes, this is a nightmare for nested maps. I know there's a library for attaching the types, but it'd be much better if it's supported by boto3 natively via the resource interface

I came from https://stackoverflow.com/questions/61844796/can-we-use-transact-write-items-without-specifying-attribute-types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dynamodb feature-request This issue requests a feature. p2 This is a standard priority issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants