aboutsummaryrefslogtreecommitdiffstats
path: root/python-packages/json_schemas/stubs/jsonschema/__init__.pyi
blob: 442e2f65e5b26380ddcaa6f39125d1df9d649c01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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