blob: cce7a9dac7b25e27767a3bda7821c2c30dd2d532 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
try:
from hypothesis_jsonschema import from_schema
HAS_HYPOTHESIS_JSONSCHEMA = True
except ImportError:
HAS_HYPOTHESIS_JSONSCHEMA = False
def from_schema(*_, **__): # type: ignore
pass
__all__ = ["from_schema", "HAS_HYPOTHESIS_JSONSCHEMA"]
|