(self, data: str, file_id: str)
Write the data to disk ans store the id for the generated data
Write the data to disk ans store the id for the generated data
Write the data to disk ans store the id for the generated data
def _write_file(self, data: str, file_id: str) -> None:#
        ''' Write the data to disk ans store the id for the generated data '''

        self.generated_files[file_id] = self._gen_filename(file_id)
        out_file = self.out_dir / self.generated_files[file_id]
        out_file.write_text(data, encoding='ascii')
        mlog.log('Generated', mlog.bold(out_file.name))
def _write_file ( self , data : str , file_id : str ) -> None : # self . generated_files [ file_id ] = self . _gen_filename ( file_id ) out_file = self . out_dir / self . generated_files [ file_id ] out_file . write_text ( data , encoding = 'ascii' ) mlog . log ( 'Generated' , mlog . bold ( out_file . name ) )