botocore icon indicating copy to clipboard operation
botocore copied to clipboard

DynamoDB: Add support for TransactWriteItems for boto3 resource

Open perera-p opened this issue 4 years ago • 3 comments

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 avatar Apr 30 '21 09:04 perera-p

Thanks for the feature request, @perera-p!

kdaily avatar Apr 30 '21 22:04 kdaily

I need this for my project too. Should be fixed by: https://github.com/boto/boto3/pull/4010

lpsinger avatar Feb 06 '24 19:02 lpsinger

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

refeed avatar Mar 27 '25 13:03 refeed