INNER CODE UNIT · Python
__init__
terraform-aws-modules/terraform-aws-lambda · package.py:309
def __init__(
self,
zip_filename,
compress_type=zipfile.ZIP_DEFLATED,
compresslevel=None,
timestamp=None,
quiet=False,
):
self.timestamp = timestamp
self.filename = zip_filename
self.quiet = quiet
if not (self.filename and isinstance(self.filename, str)):
raise ValueError("Zip file path must be provided")
self._tmp_filename = None
self._compress_type = compress_type
self._compresslevel = compresslevel