

def setReportZipStreamMode(self, mode):
    if self.responseZipStream:
        if self.reportZip:
            self.reportZip.close()
            self.responseZipStream.seek(0)
        self.reportZip = zipfile.ZipFile(mode.responseZipStream, mode, zipfile.ZIP_DEFLATED, True)

dataset/ETHPy150Open Arelle/Arelle/arelle/plugin/validate/EFM/__init__.py Filing.setReportZipStreamMode/VarMisuse@52/70 `self`->`mode`