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

Update Proposal model with default values #47

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

stuartcampbell
Copy link
Collaborator

Seems that if some fields are missing from the upstream data services then we are not populating them with a default value.

We should fix the data ingestion pipeline, but to make sure we catch it here I'm adding some default values in the pydantic model.

Resolves #46

@nmaytan nmaytan merged commit ffc1bfb into NSLS2:main Feb 14, 2024
1 check passed
@stuartcampbell stuartcampbell deleted the fix-missing-fields-from-upstream branch February 14, 2024 19:11
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.

api still giving 500 errors for some proposals that don't have endpoints
2 participants