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?
to your account
import sys; print(sys.version)
import pydantic; print(pydantic.VERSION)
Hello, I'm trying to create an instance of class Bar.
from typing import List
def check_something(cls, value):
foo_ = [[0, 1]]
pydantic.error_wrappers.ValidationError: 1 validation error for Bar
foo -> 0
value is not a valid integer (type=type_error.integer)
There will be no error, If you remove validator.
The text was updated successfully, but these errors were encountered:
Confirmed, thanks for reporting. Has been this way since v1.
I'll try and fix forthwith.
Sorry, something went wrong.
should be fixed via #1016, please let me know if that solves your problem. If so I'll release it as v1.1.1
Great! Thank you for the quick response!
No branches or pull requests