Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global: add redirection from legacy recids #199

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

kpsherva
Copy link
Contributor

No description provided.

from invenio_pidstore.resolver import Resolver


def get_pid_by_legacy_recid(pid_value):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: could the argument be legacy_pid_value as there's visual repetition of pid_value in the function which could be confusing

Copy link

@carlinmack carlinmack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the failing tests, LGTM + @0einstein0 🐞

site/cds_rdm/resolver.py Outdated Show resolved Hide resolved
@kpsherva kpsherva force-pushed the mint-legacy-recid branch 4 times, most recently from d9a372e to 87508e8 Compare September 27, 2024 16:17
@kpsherva kpsherva merged commit a1db5a1 into CERNDocumentServer:master Sep 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants