I had implemented the following function for explain.
def explain(self, quals, columns, sortkeys=None, verbose=False): if verbose: return self.qual_list(quals)
The problem is that if verbose is false, None will be returned, which causes the connection to be reset. I know that it expects a return of a string, but a quick check for a None return would probably be a good idea.
I had implemented the following function for explain.
def explain(self, quals, columns, sortkeys=None, verbose=False): if verbose: return self.qual_list(quals)
The problem is that if verbose is false, None will be returned, which causes the connection to be reset. I know that it expects a return of a string, but a quick check for a None return would probably be a good idea.