Skip to content

ImportError: cannot import name 'validate' #483

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

Closed
hqkhan opened this issue Nov 1, 2018 · 3 comments
Closed

ImportError: cannot import name 'validate' #483

hqkhan opened this issue Nov 1, 2018 · 3 comments

Comments

@hqkhan
Copy link

hqkhan commented Nov 1, 2018

Hi. Not sure what is going on here as I'm getting an import error from the get go when trying to import jsonschema. Here is a snapshot:

image

What am I missing here?

@Julian
Copy link
Member

Julian commented Nov 1, 2018 via email

@hqkhan
Copy link
Author

hqkhan commented Nov 1, 2018

Thank you for showing me how big of a goof I am. Fixed the issue.

Would you mind letting me know how you figured out that the name of the file was the problem?

Edit: Nevermind, I see from the trace where the problem was. Thank you for your help!

@hqkhan hqkhan closed this as completed Nov 1, 2018
@Julian
Copy link
Member

Julian commented Nov 1, 2018 via email

Julian added a commit that referenced this issue Jun 24, 2021
0aefbb3d Merge pull request #491 from jdesrosiers/object-contains-tests
336ef8d2 Merge pull request #452 from LeifRilbe/rilbe/propertyNames-with-pattern
2dfbc79c Simplify the test case names as well.
b6d0649d Add tests for contains with objects
da687ca5 Enforce a consistent code style for contains tests
b163efcf Merge pull request #490 from jdesrosiers/draft-future
7c8cb488 Initialize draft-future with 2020-12 tests
4d65d2df Merge pull request #483 from kylef/kylef/date
ee9dcaa7 Merge pull request #485 from marksparkza/contains-with-false-if
eaa5bffc Merge pull request #489 from json-schema-org/ether/more-recursiveRef
7c33b533 dynamic $recursiveRef test with cousin $recursiveAnchors
8a3a542b Fix invalid JSON error
8a89f58e Add tests combining remote refs and defs
3aec0d14 Add tests combining relative refs and defs
a107d196 fix: $defs -> definitions in draft 6,7 tests
0c223de2 Remove a test for undefined $id behavior
4efec180 Test that "contains" does not fail due to false "if" subschema
bf383b4c fix: make identifiers unique across tests
812f1f08 Merge pull request #484 from json-schema-org/ether/schemas-under-unknown-keywords
64f6b850 Test that identifiers are not found inside unrecognized keywords
c69a89c6 Stricter date format constraints
93193442 Test cases for propertyNames with pattern - update after PR feedback.
8e4aad95 Test cases for propertyNames with pattern.

git-subtree-dir: json
git-subtree-split: 0aefbb3d80e0caa22f3782677cf09c61b2205aa7
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

2 participants