Return a lits of Party from a mapping of ``gem_data``
(gem_data)
| 709 | |
| 710 | |
| 711 | def get_parties(gem_data): |
| 712 | """ |
| 713 | Return a lits of Party from a mapping of ``gem_data`` |
| 714 | """ |
| 715 | parties = [] |
| 716 | authors = gem_data.get('author') or [] |
| 717 | parties.extend(party_mapper(names=authors, role='author')) |
| 718 | # FIXME: emails is NOT a party |
| 719 | emails = gem_data.get('email') or [] |
| 720 | parties.extend(party_mapper(emails=emails, role='author')) |
| 721 | return parties |
| 722 | |
| 723 | |
| 724 | def get_file_references(files): |
no test coverage detected