Skip to content

Commit

Permalink
oai: add alias methods for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
yashlamba authored and kpsherva committed Oct 12, 2023
1 parent 9744003 commit c607b78
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions invenio_rdm_records/oai.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c607b78

Please sign in to comment.