-
-
Notifications
You must be signed in to change notification settings - Fork 594
Add a deprecation warning to validate_for if schema doesn't exist #484
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
Merged
Julian
merged 13 commits into
python-jsonschema:master
from
opethe1st:opethe1st-patch-2
Nov 18, 2018
Merged
Changes from 10 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
69f1294
Raise an Error if schema doesn't exist
opethe1st c9fc804
Add test to validate warning is added if schema is not found
opethe1st 8e47abc
.
opethe1st e628b7a
remove unused warnings import
opethe1st d4ce700
Remove `Raise SchemaError` from validator_for doc string
opethe1st ae4c2cc
reset gitignore
opethe1st 0554095
remove line
opethe1st 34974d0
Add trailing comma
opethe1st cff7cf1
Change warning message from `raise SchemaError` to `raise an error` i…
opethe1st f9cf860
Update tests and use default when schema not specified
opethe1st 8b7095f
Update the warning mesage
opethe1st 7b41e5a
Fix the warning message
opethe1st 91c4a49
Fix - lines too long
opethe1st File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error message still confuses me. What is it you're referring to here by "schema"? It's not a schema that wasn't found here really.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are correct, its the metaschema that's missing