def primary_key_tuple(self, item):
if self.range_key is None:<EOL><INDENT>return (item[self.hash_key.name],)<EOL><DEDENT>else:<EOL><INDENT>return (item[self.hash_key.name], item[self.range_key.name])<EOL><DEDENT>
Get the primary key tuple from an item