def unimarc_notes(self, key, value): """Get notes. note: [300$a repetitive] """ add_note(dict(noteType='general', label=value.get('a', '')), self) return None
def marc21_to_notes(self, key, value): """Get notes. note: [500$a repetitive] """ add_note( dict(noteType='general', label=not_repetitive(marc21.bib_id, marc21.rero_id, key, value, 'a')), self) return None