We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3d6b66 commit 10c2cbdCopy full SHA for 10c2cbd
src/check_jsonschema/schema_loader/main.py
@@ -5,7 +5,6 @@
5
import typing as t
6
import urllib.error
7
import urllib.parse
8
-from abc import ABC, abstractmethod
9
10
import jsonschema
11
@@ -60,8 +59,7 @@ def _extend_with_pattern_implementation(
60
59
)
61
62
63
-class SchemaLoaderBase(ABC):
64
- @abstractmethod
+class SchemaLoaderBase:
65
def get_validator(
66
self,
67
path: pathlib.Path | str,
@@ -70,7 +68,7 @@ def get_validator(
70
68
regex_impl: RegexImplementation,
71
69
fill_defaults: bool,
72
) -> jsonschema.protocols.Validator:
73
- """Get a validator for the given instance document."""
+ raise NotImplementedError
74
75
76
class SchemaLoader(SchemaLoaderBase):
0 commit comments