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
I should be able to use DynamoDB reserved words as Item attributes. For example, ttl is a common DynamoDB Item Time to Live attribute name. A consumer should be able to specify reserved word attribute names for any of the *_attr values when configuring DynamoDBPersistenceLayer.
Current Behavior
_put_record currently throws an exception b/c it uses Python string interpolation instead of ExpressionAttributeNames.
What were you trying to accomplish?
Expected Behavior
I should be able to use DynamoDB reserved words as Item attributes. For example,
ttl
is a common DynamoDB Item Time to Live attribute name. A consumer should be able to specify reserved word attribute names for any of the*_attr
values when configuringDynamoDBPersistenceLayer
.Current Behavior
_put_record
currently throws an exception b/c it uses Python string interpolation instead ofExpressionAttributeNames
.Possible Solution
Switch to
ExpressionAttributeNames
, e.g.Steps to Reproduce (for bugs)
ttl
.DynamoDBPersistenceLayer
withexpiry_attr='ttl'
Environment
# paste logs here
The text was updated successfully, but these errors were encountered: