Skip to content

Commit 09947e9

Browse files
committed
not_implemented iterator fix
1 parent 70190e5 commit 09947e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openapi_schema_validator/_validators.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,4 +264,5 @@ def not_implemented(
264264
instance: Any,
265265
schema: Mapping[Hashable, Any],
266266
) -> Iterator[ValidationError]:
267-
pass
267+
return
268+
yield

0 commit comments

Comments
 (0)