@db.non_transactional(allow_existing=True)<EOL><INDENT>def locked_delete(self):<DEDENT>
if self._cache:<EOL><INDENT>self._cache.delete(self._key_name)<EOL><DEDENT>self._delete_entity()<EOL>
Delete Credential from datastore.