-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Input validation fails in a fairly simple scenario. Given the input and schema below, the validator cannot identify the violation.
validate({"my_input": None}, {"my_input": {"type": str, "required": True}})To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
It should report the violation correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Ubuntu
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
My Python version is 3.11.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working