Skip to content

incorrect documentation for DynamoDB.Table.update_item() #4562

@altaurog

Description

@altaurog

Describe the issue

According to the docs for DynamoDB.Table.update_item(), ExpressionAttributeValues must be specified with value types, so: { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }
But it doesn’t seem to work this way. The resource interface handles the types automatically, so the code in the example should be { ":avail": "Available", ":back": "Backordered", ":disc": "Discontinued" }
There may be other instances like this, I didn’t check for them.

Links

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/update_item.html

Metadata

Metadata

Assignees

Labels

documentationThis is a problem with documentation.dynamodbp3This is a minor priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions