We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 755472f commit 97b6514Copy full SHA for 97b6514
pydanticrud/backends/dynamodb.py
@@ -233,7 +233,7 @@ def _key_param_to_dict(self, key):
233
}
234
if self.range_key:
235
if not isinstance(key, tuple) or not len(key) == 2:
236
- raise ValueError(f"{self.table_name} needs both a hash_key and a range_key to delete a record.")
+ raise ValueError(f"{self.table_name} needs both a hash_key and a range_key.")
237
_key = {
238
self.hash_key: key[0],
239
self.range_key: key[1]
0 commit comments