save_json(data, file_path)
        self.run.log_file(file_path, name=filename, is_output=is_output)
[docs]    def flush_tracker(self) -> None:
        """Reset the steps and delete the temporary local directory."""
        self._reset()
        shutil.rmtree(self.temp_dir)