You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code below raises a voluptuous error because extra data are forbidden by and empty schema.
from voluptuous import Schema
try:
Schema({})({"extra": "invalid", "extra2": "invalid"})
except Exception as exc:
print '\n'.join([', '.join(error.path) for error in exc.errors])
With voluptuous 0.9.3, the extra keys are displayed ("extra2", "extra").
With voluptuous >=0.10, the error path is not longer available and an empty string is displayed.
Is it an expected change, or is it a bug that needs to be fixed?
The text was updated successfully, but these errors were encountered:
The code below raises a voluptuous error because extra data are forbidden by and empty schema.
With voluptuous 0.9.3, the extra keys are displayed ("extra2", "extra").
With voluptuous >=0.10, the error
path
is not longer available and an empty string is displayed.Is it an expected change, or is it a bug that needs to be fixed?
The text was updated successfully, but these errors were encountered: