def fix_keys(self):
        """
        Remove the _ from the keys of the results
        """
        if not self.valid:
            return

        for hit in self._results['hits']['hits']:
            for key, item in list(hit.items()):
                if key.startswith("_"):
                    hit[key[1:]] = item
                    del hit[key]
def fix_keys ( self ) : if not self . valid : return for hit in self . _results [ 'hits' ] [ 'hits' ] : for key , item in list ( hit . items ( ) ) : if key . startswith ( "_" ) : hit [ key [ 1 : ] ] = item del hit [ key ]
Remove the _ from the keys of the results