def insert_entry(self, entry, taxids):
entry_dict = entry.attrib<EOL>entry_dict['<STR_LIT>'] = datetime.strptime(entry_dict['<STR_LIT>'], '<STR_LIT>')<EOL>entry_dict['<STR_LIT>'] = datetime.strptime(entry_dict['<STR_LIT>'], '<STR_LIT>')<EOL>taxid = self.get_taxid(entry)<EOL>if taxids is None or taxid in taxids:<EOL><INDENT>entry_dict = self.update_entry_dict(entry, entry_dict, taxid)<EOL>entry_obj = models.Entry(**entry_dict)<EOL>del entry_dict<EOL>self.session.add(entry_obj)<EOL><DEDENT>
Insert UniProt entry"

        :param entry: XML node entry
        :param taxids: Optional[iter[int]] taxids: NCBI taxonomy IDs