Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

AttributeError: 'HashClient' object has no attribute 'stats'

Open
#549 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
memcached, python
Domain
backend, databases

Research direction

Start by reading the HashClient API and its tests to see how it handles operations across multiple servers. Check whether stats is available on the underlying clients and how the library exposes their results. Done means the issue has a documented way to inspect cache statistics across a HashClient, with tests covering the behavior.

Written by the indexing model from the issue text.

Description

enhancement newbie

Thanks for a fantastic library.
I am trying to do a bit of debugging and wanted to print out all keys and data in the cache.
It seems that stats is not available in the HashClient, is there an alternative or a way that this could perhaps be added?

Dominant language
Python
Stars
842
Forks
190
Avg merge
3h 17m
Merged PRs (30d)
4

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pinterest/pymemcache

All issues in pinterest/pymemcache

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.