I published a new blog post on the tecRacer AWS Blog: https://www.tecracer.com/blog/2021/07/implementing-optimistic-locking-in-dynamodb-with-python.html