def _get_index_results(self, index_name, resp):
        """
        Returns the index from a dict of indicies.

        """
        if resp.content and resp.content in index_name:
            result = resp.content[index_name]
            return Neo4jResult(result, self.config)


    # Batch related
dataset/ETHPy150Open espeed/bulbs/bulbs/neo4jserver/client.py/Neo4jClient._get_index_results/swapped operands of `in`