We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68a9812 commit 5f296fdCopy full SHA for 5f296fd
docs/jsonschema_role.py
@@ -9,10 +9,11 @@
9
import urllib.request as urllib
10
11
import certifi
12
+import jsonschema
13
from lxml import html
14
15
-__version__ = "1.0.0"
16
+__version__ = "1.1.0"
17
VALIDATION_SPEC = "https://json-schema.org/draft-07/json-schema-validation.html"
18
19
@@ -53,7 +54,11 @@ def fetch_or_load(spec_path):
53
54
the path to a cached specification
55
"""
56
- headers = {}
57
+ headers = {
58
+ "User-Agent": "python-jsonschema v{} - documentation build v{}".format(
59
+ jsonschema.__version__, __version__,
60
+ ),
61
+ }
62
63
try:
64
modified = datetime.utcfromtimestamp(os.path.getmtime(spec_path))
0 commit comments