Skip to content

Conversation

@gazpachoking
Copy link
Contributor

Couple things in here:

Add cache_remote flag to init to turn it off
Add ability to specify handlers for different uri schemes in RefResolver Add unit tests for new features
@gazpachoking
Copy link
Contributor Author

@Julian Look ok?

jsonschema.py Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the thing in requests that's causing this? Can we check for that instead?

@Julian
Copy link
Member

Julian commented Feb 17, 2013

Other than those two nitpicks, this looks good to merge. Although it'd be lovely if you added some prose docs on this to docs/references.rst

@Julian
Copy link
Member

Julian commented Feb 17, 2013

Sorry, that was not enthusiastic. I meant "this looks really nice :)".

Remove backslash line continuation
@gazpachoking
Copy link
Contributor Author

Two issues with requests version, really old requests didn't have json loading, and the api in 1.0 changed from it being a property to a method. I have it checking both those things explicitly now.

I need to brush up on my rst, I'll look into adding to the references docs after I eat.

@Julian
Copy link
Member

Julian commented Feb 18, 2013

OK :) Merge when ready. Thank you!

gazpachoking added a commit that referenced this pull request Feb 18, 2013
@gazpachoking gazpachoking merged commit 1222785 into python-jsonschema:master Feb 18, 2013
@gazpachoking
Copy link
Contributor Author

I'll send another PR tomorrow with doc updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Some new desired functionality

2 participants