Skip to content

Conversation

@jogo
Copy link
Contributor

@jogo jogo commented Oct 13, 2022

Add integration tests to reproduce the issue and add an argument to _fetch_cmd to skip the key prefix logic as needed.

Closes #430

Copy link
Collaborator

@jparise jparise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than adding a Boolean flag, I wonder if the code would be nicer if we just passed the prefix (or lack of one) as an explicit argument to these functions that need it.

Add integration tests to reproduce the issue and add an argument to
_fetch_cmd to skip the key prefix logic as needed.

Closes pinterest#430
@jogo jogo merged commit 337fcf8 into pinterest:master Oct 17, 2022
@jogo jogo deleted the prefix branch October 17, 2022 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pymemcache.client.base.Client.stats(*args) raises exception when Client.key_prefix is set, and arg(s) used.

2 participants