Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gets_many to HashClient. #137

Merged
merged 1 commit into from
Feb 17, 2017
Merged

Add gets_many to HashClient. #137

merged 1 commit into from
Feb 17, 2017

Conversation

njason
Copy link

@njason njason commented Feb 3, 2017

No description provided.

@njason
Copy link
Author

njason commented Feb 15, 2017

@nichochar I raised the issue that HashClient is missing gets_many here #136. Could you please review my PR for adding this feature? Thanks.

@@ -301,6 +307,11 @@ def get_many(self, keys, *args, **kwargs):
def gets(self, key, *args, **kwargs):
return self._run_cmd('gets', key, None, *args, **kwargs)

def gets_many(self, keys, *args, **kwargs):
return self.get_many(keys, True, *args, **kwargs)
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we write the kwarg explicitely here please? gets=True

@nichochar
Copy link
Collaborator

This looks good, a part from a quick style change. The travis failure I believe is unrelated, due to some issue with gevent 1.1 and python 2.6... Travis always gives us a hard time. I will look into this and try and fix it so you can rebase and we can go ahead and merge your change.

@njason
Copy link
Author

njason commented Feb 17, 2017

@nichochar Thanks for reviewing this PR. I have made the gets=True style change. My fork is rebased and squashed.

@nichochar nichochar merged commit ad5c251 into pinterest:master Feb 17, 2017
@njason
Copy link
Author

njason commented Feb 17, 2017

@nichochar Thank you for merging my PR. Could you kindly update the PyPI package? Let me know if you want me to do the release steps up to uploading the packages step from https://github.com/pinterest/pymemcache/wiki/Release-Checklist

@nichochar
Copy link
Collaborator

Yep, the pypi package is updated now, 1.4.1

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.

2 participants