8000 MEF: fix get updated by rerowep · Pull Request #119 · rero/rero-mef · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MEF: fix get updated #119

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

Merged
merged 1 commit into from
Dec 22, 2022
Merged

MEF: fix get updated #119

merged 1 commit into from
Dec 22, 2022

Conversation

rerowep
Copy link
Contributor
@rerowep rerowep commented Dec 20, 2022
  • Adds date check for deleted pids.

@rerowep rerowep self-assigned this Dec 20, 2022
@rerowep rerowep force-pushed the wep-fix-updated branch 2 times, most recently from 7c7e3a3 to 1bef6bc Compare December 20, 2022 10:36
@coveralls
Copy link
coveralls commented Dec 20, 2022

Coverage Status

Coverage decreased (-0.04%) to 72.933% when pulling cece47b on rerowep:wep-fix-updated into d275c2e on rero:staging.

@rerowep rerowep force-pushed the wep-fix-updated branch 3 times, most recently from fb8e728 to f6daee6 Compare December 20, 2022 12:47
* Adds date check for deleted pids.

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
@@ -263,6 +263,30 @@ def get_all_pids(cls, with_deleted=False, limit=100000):
for identifier in query:
yield identifier.pid_value

@classmethod
def get_all_deleted_pids(cls, limit=100000, from_date 8000 =None):
"""Get all records pids. Return a generator iterator."""
Copy link
Contributor

Choose a reason for hiding this comment

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

Get all delete records pids

@rerowep rerowep merged commit 585aae8 into rero:staging Dec 22, 2022
@rerowep rerowep deleted the wep-fix-updated branch February 9, 2023 06:43
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
0