-
Notifications
You must be signed in to change notification settings - Fork 24
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
Validation fails on an empty list #103
Comments
Changing to |
dhimmel
added a commit
to dhimmel/openskistats
that referenced
this issue
Oct 15, 2024
Can you please rerun this from the main branch instead of the latest release and see if this is still an issue? If this is still an issue, it should be a pretty easy fix. |
Ok I confirm this is present on main. Thank you for raising this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following model validation fails on an empty list:
With the error message:
I would expect an empty list to validate as
list[str]
, at least Pydantic thinks so:The text was updated successfully, but these errors were encountered: