You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PynamoDB already issues it own exceptions - why not perform this if and raise a ConditionalCheckFailed? why perpetuate the bad API for boto3 (in this regard) into this otherwise very pythonic library?
What do you say? can this be implemented?
I'm still suprised that this is the way to handle something that is so common...
Isn't this supposed to be the value of a pythonic, OO wrapper code to DynamoDB?
koreno
added a commit
to koreno/PynamoDB
that referenced
this issue
Oct 25, 2023
It seems quite unpythonic to force users to write such constructs when dealing with the oh-so-useful conditional operations in DynamoDM:
PynamoDB already issues it own exceptions - why not perform this
if
and raise aConditionalCheckFailed
? why perpetuate the bad API for boto3 (in this regard) into this otherwise very pythonic library?Make this work:
The text was updated successfully, but these errors were encountered: