diff options
author | F. Eugene Aumson <feuGeneA@users.noreply.github.com> | 2018-11-15 01:56:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 01:56:31 +0800 |
commit | b961cb195299ce6a091ae692ec815b52f6b89300 (patch) | |
tree | a6b97b981b04b22a1296fa55e8b7f77e59eb5ba0 /python-packages/order_utils/stubs | |
parent | e1d64def2017ced0aba599b989ad42a51fdd46fe (diff) | |
download | dexon-0x-contracts-b961cb195299ce6a091ae692ec815b52f6b89300.tar.gz dexon-0x-contracts-b961cb195299ce6a091ae692ec815b52f6b89300.tar.zst dexon-0x-contracts-b961cb195299ce6a091ae692ec815b52f6b89300.zip |
fix(order_utils.py): validate order w/json schema (#1260)
Diffstat (limited to 'python-packages/order_utils/stubs')
-rw-r--r-- | python-packages/order_utils/stubs/jsonschema/__init__.pyi | 5 | ||||
-rw-r--r-- | python-packages/order_utils/stubs/jsonschema/exceptions.pyi | 0 |
2 files changed, 5 insertions, 0 deletions
diff --git a/python-packages/order_utils/stubs/jsonschema/__init__.pyi b/python-packages/order_utils/stubs/jsonschema/__init__.pyi new file mode 100644 index 000000000..762b58b22 --- /dev/null +++ b/python-packages/order_utils/stubs/jsonschema/__init__.pyi @@ -0,0 +1,5 @@ +from typing import Any, Dict + +class RefResolver: pass + +def validate(instance: Any, schema: Dict, cls=None, *args, **kwargs) -> None: pass diff --git a/python-packages/order_utils/stubs/jsonschema/exceptions.pyi b/python-packages/order_utils/stubs/jsonschema/exceptions.pyi new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/python-packages/order_utils/stubs/jsonschema/exceptions.pyi |