

def __init__(self, cntlr, options=None, filesource=None, entrypointfiles=None, sourceZipStream=None, responseZipStream=None, errorCaptureLevel=None):
    self.cntlr = cntlr
    self.options = options
    self.filesource = filesource
    self.entrypointfiles = entrypointfiles
    self.sourceZipStream = sourceZipStream
    self.responseZipStream = responseZipStream
    self.submissionType = None
    self.reports = []
    self.renderedFiles = set()
    self.reportZip = None
    if responseZipStream:
        self.setReportZipStreamMode('w')
    else:
        try:
            if (options and options.zipOutputFile):
                if (not os.path.isabs(options.zipOutputFile)):
                    zipOutDir = os.path.dirname(filesource.basefile)
                    zipOutFile = os.path.join(zipOutDir, zipOutFile.zipOutputFile)
                else:
                    zipOutFile = options.zipOutputFile
                self.reportZip = zipfile.ZipFile(zipOutFile, 'w', zipfile.ZIP_DEFLATED, True)
        except AttributeError:
            self.reportZip = None
    self.errorCaptureLevel = (errorCaptureLevel or logging._checkLevel('INCONSISTENCY'))
    self.errors = []
    self.arelleUnitTests = {
        
    }

dataset/ETHPy150Open Arelle/Arelle/arelle/plugin/validate/EFM/__init__.py Filing.__init__/VarMisuse@171/228 `options`->`zipOutFile`