(self)
Close any open file references, do any cleanup.
Close any open file references, do any cleanup.
Close any open file references do any cleanup .
def _close(self):
        """
        Close any open file references, do any cleanup.
        """
        for writer in self.tables.values():
            writer.finish()

        self._write_final_result()

        for writer in self.tables.values():
            writer.close()
def _close ( self ) : for writer in self . tables . values ( ) : writer . finish ( ) self . _write_final_result ( ) for writer in self . tables . values ( ) : writer . close ( )