def call(self, *args, **kwargs):
        if not self.is_connected():
            if self.autoconnect:
                # We use this method only when we are not contected
                # to void performance penaly due to gen.coroutine decorator
                return self._call_with_autoconnect(*args, **kwargs)
            else:
                error = ConnectionError("you are not connected and "
                                        "autoconnect=False")
                return tornado.gen.maybe_future(error)
        return self._call(*args, **kwargs)
Calls a redis command and returns a Future of the reply.
dataset/ETHPy150Open thefab/tornadis/tornadis/client.py/Client.call