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

Pydantic model errors in percentile calculator #3511

Open
conbrad opened this issue Apr 4, 2024 · 0 comments
Open

Pydantic model errors in percentile calculator #3511

conbrad opened this issue Apr 4, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@conbrad
Copy link
Collaborator

conbrad commented Apr 4, 2024

Actual Behaviour

Exception occurred POST /api/percentiles/
wps-prod-493-xjndj (34): 3 validation errors for StationSummary
ffmc
Input should be a valid number [type=float_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.6/v/float_type
isi
Input should be a valid number [type=float_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.6/v/float_type
bui
Input should be a valid number [type=float_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.6/v/float_type

Steps To Reproduce

  1. Go to percentile calculator
  2. Request data for any station
  3. See error above

Screenshots

If applicable, add screenshots to help explain your problem.

Expected Behaviour

No error occurs

@conbrad conbrad added the Bug Something isn't working label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant