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

Required keys aren't detected in Object #445

Open
twiddli opened this issue Jul 17, 2021 · 0 comments
Open

Required keys aren't detected in Object #445

twiddli opened this issue Jul 17, 2021 · 0 comments

Comments

@twiddli
Copy link

twiddli commented Jul 17, 2021

Just leaving this here for anyone else experiencing this issue

# this fails with voluptuous.error.MultipleInvalid: required key not provided @ data['test'][0]['ok']
Schema({'test': (Object({'ok': 1}),)}, required=True)({'test': ({'ok': 1},)})

# but this works
Schema({'test': ({'ok': 1},)}, required=True)({'test': ({'ok': 1},)})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant