Transaction in boto3 dynamoDb Python2.7
is there any way i can achieve transactions in dynamoDb with Python2.7 currently i have a class Table that is responsible for all my actions e.g put, update to demonstrate what i am doing i am writing here example code from imports.table import Table def lambda_handler(event, context): -------------some code------- insert_user(user_json) update_role(role_json) insert_role(role_json) -------------some code------- def insert_user(user_json) user_table = Table("user") return user_table.put_item(user_json) def update_role(role_json) role_table = Table("role") return user_table.update_item_by_key(role_json) def insert_role(role_json) role_table = Table("role") return user_table.put_item(role_json) now the problem is i want to implement transactions here for these three function (can me more or less according to requirement) Is their any library available? If not, what is the proper way to implement transactions here Also I am attaching my Table class
Find maximum of column for each business quarter pandas
placeholder functions in sympy
Django: how to chain 2 add() calls in 1 create()?
How to specify large integer literals in a readable way?
How to do `PUT` on Amazon S3 using Python Requests
Untangle re.findall capturing groups: 'list' object has no attribute 'join'
Twisted equivalent of ThreadPoolExecutor (in Scrapy pipeline)
numpy.minimum applied to pandas DataFrame and Series
Find the area of a bounding polygon that encloses a set of points
Stacking Images in a Python graph
Deleting a directory if it doesn't contain a file of specific type (Python)
Python: efficiently checking a file line by line
How to read a text file and group them in tuple?
Python importing files - for loops
How to avoid docstring duplication
python script is not executed via crontab