inveniosoftware / invenio-rdm-records

DataCite-based data model for InvenioRDM flavour.
https://invenio-rdm-records.readthedocs.io
MIT License
15 stars 81 forks source link

MARC: remove read_many call to vocab service #1714

Closed carlinmack closed 3 months ago

carlinmack commented 3 months ago

:heart: Thank you for your contribution!

Close https://github.com/zenodo/ops/issues/423

Description

Please describe briefly your pull request.

The license data is already indexed in the record itself and we were calling to get the license vocabulary every time which was expensive and is unnecessary.

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Third-party code

If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.