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

Ids 779 remove active directory lookup from ro crate gener #1

Merged

Conversation

JLoveUOA
Copy link
Contributor

@JLoveUOA JLoveUOA commented Jun 4, 2024

No description provided.

logger.error("bad API response getting person data for %s: %s", upi, e)
logger.error(
"bad API response getting person data for %s. Error: %s.", upi, e
)

Copy link
Collaborator

Choose a reason for hiding this comment

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

What is the default behaviour if the API lookup fails? Do we create a Person with just the UPI or do we raise the exception? Also the API call should return any associated identifiers, if there are any, which we could/should include in the Person object. This is probably a later addition, but we do need to consider things like ORCID in this space :)

@JLoveUOA JLoveUOA merged commit e600f38 into main Jun 4, 2024
1 check passed
@JLoveUOA JLoveUOA deleted the IDS-779-remove-active-directory-lookup-from-ro-crate-gener branch June 4, 2024 04:02
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.

2 participants