|
1 |
| -from jsonschema._format import ( |
2 |
| - FormatChecker as FormatChecker, |
3 |
| - draft3_format_checker as draft3_format_checker, |
4 |
| - draft4_format_checker as draft4_format_checker, |
5 |
| - draft6_format_checker as draft6_format_checker, |
6 |
| - draft7_format_checker as draft7_format_checker, |
7 |
| - draft201909_format_checker as draft201909_format_checker, |
8 |
| - draft202012_format_checker as draft202012_format_checker, |
9 |
| -) |
| 1 | +from jsonschema._format import FormatChecker as FormatChecker |
| 2 | +from jsonschema._format import draft3_format_checker as draft3_format_checker |
| 3 | +from jsonschema._format import draft4_format_checker as draft4_format_checker |
| 4 | +from jsonschema._format import draft6_format_checker as draft6_format_checker |
| 5 | +from jsonschema._format import draft7_format_checker as draft7_format_checker |
| 6 | +from jsonschema._format import \ |
| 7 | + draft201909_format_checker as draft201909_format_checker |
| 8 | +from jsonschema._format import \ |
| 9 | + draft202012_format_checker as draft202012_format_checker |
10 | 10 | from jsonschema._types import TypeChecker as TypeChecker
|
11 |
| -from jsonschema.exceptions import ( |
12 |
| - ErrorTree as ErrorTree, |
13 |
| - FormatError as FormatError, |
14 |
| - RefResolutionError as RefResolutionError, |
15 |
| - SchemaError as SchemaError, |
16 |
| - ValidationError as ValidationError, |
17 |
| -) |
| 11 | +from jsonschema.exceptions import ErrorTree as ErrorTree |
| 12 | +from jsonschema.exceptions import FormatError as FormatError |
| 13 | +from jsonschema.exceptions import RefResolutionError as RefResolutionError |
| 14 | +from jsonschema.exceptions import SchemaError as SchemaError |
| 15 | +from jsonschema.exceptions import ValidationError as ValidationError |
18 | 16 | from jsonschema.protocols import Validator as Validator
|
19 |
| -from jsonschema.validators import ( |
20 |
| - Draft3Validator as Draft3Validator, |
21 |
| - Draft4Validator as Draft4Validator, |
22 |
| - Draft6Validator as Draft6Validator, |
23 |
| - Draft7Validator as Draft7Validator, |
24 |
| - Draft201909Validator as Draft201909Validator, |
25 |
| - Draft202012Validator as Draft202012Validator, |
26 |
| - RefResolver as RefResolver, |
27 |
| - validate as validate, |
28 |
| -) |
| 17 | +from jsonschema.validators import Draft3Validator as Draft3Validator |
| 18 | +from jsonschema.validators import Draft4Validator as Draft4Validator |
| 19 | +from jsonschema.validators import Draft6Validator as Draft6Validator |
| 20 | +from jsonschema.validators import Draft7Validator as Draft7Validator |
| 21 | +from jsonschema.validators import Draft201909Validator as Draft201909Validator |
| 22 | +from jsonschema.validators import Draft202012Validator as Draft202012Validator |
| 23 | +from jsonschema.validators import RefResolver as RefResolver |
| 24 | +from jsonschema.validators import validate as validate |
0 commit comments