def _handle_head(self, path, node, upper=1024 * 1024):
        data = ''
        for load in self._client._read_file(path, node, tail_only=False,
                                            check_crc=False):
            data += load
            if (len(data) > upper):
                return data

        return data
dataset/ETHPy150Open grundprinzip/pyxplorer/pyxplorer/loader.py/Loader._handle_head/original