aboutsummaryrefslogtreecommitdiffstats
path: root/python-packages/json_schemas/stubs/jsonschema/__init__.pyi
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2019-01-10 00:54:55 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2019-01-10 00:54:55 +0800
commitfb3605026ef63ef6897010a52bf3f4c116cdf271 (patch)
treeaf3887e5f785e049daeaf795e0f3e4a9ad370d93 /python-packages/json_schemas/stubs/jsonschema/__init__.pyi
parent76dde294f10bb3d5c1074cd6599668bcb1cdd8ec (diff)
parent5b8c9122a292f6558c45440b053ceae52d36d495 (diff)
downloaddexon-0x-contracts-fb3605026ef63ef6897010a52bf3f4c116cdf271.tar
dexon-0x-contracts-fb3605026ef63ef6897010a52bf3f4c116cdf271.tar.gz
dexon-0x-contracts-fb3605026ef63ef6897010a52bf3f4c116cdf271.tar.bz2
dexon-0x-contracts-fb3605026ef63ef6897010a52bf3f4c116cdf271.tar.lz
dexon-0x-contracts-fb3605026ef63ef6897010a52bf3f4c116cdf271.tar.xz
dexon-0x-contracts-fb3605026ef63ef6897010a52bf3f4c116cdf271.tar.zst
dexon-0x-contracts-fb3605026ef63ef6897010a52bf3f4c116cdf271.zip
Merge branch 'development' into feature/instant/tell-amount-available
Diffstat (limited to 'python-packages/json_schemas/stubs/jsonschema/__init__.pyi')
-rw-r--r--python-packages/json_schemas/stubs/jsonschema/__init__.pyi11
1 files changed, 11 insertions, 0 deletions
diff --git a/python-packages/json_schemas/stubs/jsonschema/__init__.pyi b/python-packages/json_schemas/stubs/jsonschema/__init__.pyi
new file mode 100644
index 000000000..442e2f65e
--- /dev/null
+++ b/python-packages/json_schemas/stubs/jsonschema/__init__.pyi
@@ -0,0 +1,11 @@
+from typing import Any, Dict, Tuple
+
+
+class RefResolver:
+ def resolve(self, url: str) -> Tuple[str, Dict]:
+ ...
+
+
+class ValidationError(Exception): pass
+
+def validate(instance: Any, schema: Dict, cls=None, *args, **kwargs) -> None: pass