8000 [jsonschema] Add registry arg to Validator init · python/typeshed@56af5b5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56af5b5

Browse files
[jsonschema] Add registry arg to Validator init
1 parent 8597724 commit 56af5b5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

stubs/jsonschema/jsonschema/validators.pyi

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ class _Validator:
2929
resolver: Incomplete
3030
format_checker: Incomplete
3131
evolve: Incomplete
32-
def __init__(self, schema: _Schema, resolver: Incomplete | None = ..., format_checker: Incomplete | None = ...) -> None: ...
32+
def __init__(
33+
self,
34+
schema: _Schema,
35+
resolver: Incomplete | None = ...,
36+
format_checker: Incomplete | None = ...,
37+
registry: Incomplete | None = ...,
38+
) -> None: ...
3339
@classmethod
3440
def check_schema(cls, schema: _Schema, format_checker: FormatChecker | Unset = ...) -> None: ...
3541
def iter_errors(self, instance, _schema: _Schema | None = ...) -> Generator[Incomplete, None, None]: ...

0 commit comments

Comments
 (0)
0