We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Schema(lambda i: i == 5, error="Formatstring: {}").validate(12)
produces an exception with the message "Formatstring: {}" and not "Formatstring: 12"
I had to change line 309 to
raise SchemaError('%s(%r) should evaluate to True' % (f, data), e.format(data))
to get it working as intended.
You're also missing the documentation for this feature all together. Took me a while to figure out. And #4 is still open, too.
The text was updated successfully, but these errors were encountered:
This is still a problem today! I'll send a PR...
Sorry, something went wrong.
Ah, I see it was fixed six days ago. Thank you! a2873bc
No branches or pull requests
produces an exception with the message "Formatstring: {}" and not "Formatstring: 12"
I had to change line 309 to
to get it working as intended.
You're also missing the documentation for this feature all together. Took me a while to figure out. And #4 is still open, too.
The text was updated successfully, but these errors were encountered: