コード例 #1
0
def unimarc_notes(self, key, value):
    """Get  notes.

    note: [300$a repetitive]
    """
    add_note(dict(noteType='general', label=value.get('a', '')), self)

    return None
コード例 #2
0
ファイル: model.py プロジェクト: lauren-d/rero-ils
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