def __enter__(self):
        self.temporary_directory = pathlib.Path(tempfile.mkdtemp())
        self.files = [self.create_temp_file(diff) for diff in self.changes]
        return self
Enter context manager and create a temporary directory
dataset/ETHPy150Open zalando/turnstile/turnstile/models/staging.py/StagingArea.__enter__