python-memcached icon indicating copy to clipboard operation
python-memcached copied to clipboard

Allow delete() to change the "expected" param.

Open felixxm opened this issue 6 years ago • 0 comments

Currently delete() calls _deletetouch() with [b'DELETED', b'NOT_FOUND']. We would like to have an option to pass lists of expected results and customize this behavior, because we don't treat passing a non existent key as a succeeded deletion (see related discussion).

felixxm avatar Nov 14 '19 07:11 felixxm