def get(self, id, decrypt=False, id_name='<STR_LIT:id>', **kwargs):
response = self._new_response()<EOL>if self._check_supported_op('<STR_LIT>', response):<EOL><INDENT>if id is None:<EOL><INDENT>response.status = '<STR_LIT:error>'<EOL>response.error_type = '<STR_LIT>'<EOL>response.error_message = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>params = {'<STR_LIT>': {id_name: id},<EOL>'<STR_LIT>': True}<EOL>self._call_ddb_method(self.table.get_item,<EOL>params, response)<EOL>if response.status == '<STR_LIT:success>':<EOL><INDENT>if '<STR_LIT>' in response.raw_response:<EOL><INDENT>item = response.raw_response['<STR_LIT>']<EOL>if decrypt:<EOL><INDENT>self._decrypt(item)<EOL><DEDENT>response.data = self._replace_decimals(item)<EOL><DEDENT>else:<EOL><INDENT>response.status = '<STR_LIT:error>'<EOL>response.error_type = '<STR_LIT>'<EOL>msg = '<STR_LIT>'.format(id)<EOL>response.error_message = msg<EOL><DEDENT><DEDENT><DEDENT><DEDENT>response.prepare()<EOL>return response<EOL>
Returns the item corresponding to ``id``.  If the ``decrypt`` param is
not False (the default) any encrypted attributes in the item will be
decrypted before the item is returned.  If not, the encrypted
attributes will contain the encrypted value.