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

Add set_keys() ignore_errors flag #163

Closed
sjoerdk opened this issue Jan 27, 2021 · 1 comment
Closed

Add set_keys() ignore_errors flag #163

sjoerdk opened this issue Jan 27, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@sjoerdk
Copy link
Owner

sjoerdk commented Jan 27, 2021

  • pimsclient version: 1.5.2

For Project.set_keys() there should be an 'ignore errors' flag. Currently an error is thrown if any pseudonym to set already exists. When adding many pseudonyms however, upon hitting any error, often part of the pseudonyms you were setting aready exist. Having to prune these away each time before re-running the script is annoying.

Add 'ignore_errors=False' which will print warnings instead of raise exceptions when trying to set existing pseudonyms

@sjoerdk sjoerdk added the enhancement New feature or request label Jan 27, 2021
@sjoerdk
Copy link
Owner Author

sjoerdk commented Apr 24, 2024

Superseded by PIMS2

@sjoerdk sjoerdk closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant