python-memcached
python-memcached copied to clipboard
Add support for default value in get
This PR adds the default keyword argument to get() method, which allows to support a custom default value to retrieve from the cache, if a key is not present on the server.
Closes #159
@samupl @alex @bartTC One of my django PR(https://github.com/django/django/pull/11812) is pending which is dependent on this PR. Are we planning to add this feature in memcache?
@ahsanshafiq742 Unfortunatelly, looks like this project is not maintained anymore (considering the lack of activity on this repository or on PyPI).
Merged, thank you for the PR. Sorry it did't come sooner.