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
When created imperatively, I can set a Mapping's "unknown" attribute:
my_mapping = SchemaNode(Mapping(unknown='raise')) my_mapping.add(...)
When created declaratively, there's no way to do this, though:
class MyMapping(MappingSchema): # :( ...
The same applies to Sequence's "scalar" attribute and SequenceSchema.
The text was updated successfully, but these errors were encountered:
Sorry for the extreme delay responding. The way to do this is:
themapping = MyMapping() themapping.typ.unknown = 'raise'
This is unlikely to change unless someone comes up with a better idea.
Sorry, something went wrong.
No branches or pull requests
When created imperatively, I can set a Mapping's "unknown" attribute:
When created declaratively, there's no way to do this, though:
The same applies to Sequence's "scalar" attribute and SequenceSchema.
The text was updated successfully, but these errors were encountered: