def _make_command_method(cls, command_name):
        """
        Return a function which call _call_command for the given name.
        Used to bind redis commands to our own calls
        """
        def func(self, *args, **kwargs):
            return self._call_command(command_name, *args, **kwargs)
        return func
Return a function which call _call_command for the given name.
        Used to bind redis commands to our own calls