From c607b788b0fa3f4781141aadf12894c0b07c065d Mon Sep 17 00:00:00 2001 From: yashlamba Date: Thu, 12 Oct 2023 16:03:20 +0200 Subject: [PATCH] oai: add alias methods for backwards compatibility --- invenio_rdm_records/oai.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/invenio_rdm_records/oai.py b/invenio_rdm_records/oai.py index c1632c7b6..36b28dcca 100644 --- a/invenio_rdm_records/oai.py +++ b/invenio_rdm_records/oai.py @@ -147,3 +147,8 @@ class Meta: dsl.Q("exists", field="pids.oai.identifier"), dsl.Q("term", **{"access.record": "public"}), ] + + +# Alias methods, to be deprecated +oai_marcxml_etree = marcxml_etree +oai_dcat = dcat_etree