@provide_session<EOL><INDENT>def clear_nonexistent_import_errors(self, session):<DEDENT>
query = session.query(errors.ImportError)<EOL>if self._file_paths:<EOL><INDENT>query = query.filter(<EOL>~errors.ImportError.filename.in_(self._file_paths)<EOL>)<EOL><DEDENT>query.delete(synchronize_session='<STR_LIT>')<EOL>session.commit()<EOL>
Clears import errors for files that no longer exist.

:param session: session for ORM operations
:type session: sqlalchemy.orm.session.Session