From 9fb52127ab3eb4a1169d5ba5de070b62a8db4cc0 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Mon, 30 Oct 2023 17:40:28 -0700 Subject: [PATCH] jsonschema: move addionalItems (#10955) https://github.com/python-jsonschema/jsonschema/commit/daa40b3eaf55f72f6154f9a48e557d895617b24a Fixes #10953 --- stubs/jsonschema/jsonschema/_keywords.pyi | 1 - stubs/jsonschema/jsonschema/_legacy_keywords.pyi | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/jsonschema/jsonschema/_keywords.pyi b/stubs/jsonschema/jsonschema/_keywords.pyi index f6daf1268..3d050a939 100644 --- a/stubs/jsonschema/jsonschema/_keywords.pyi +++ b/stubs/jsonschema/jsonschema/_keywords.pyi @@ -2,7 +2,6 @@ def patternProperties(validator, patternProperties, instance, schema) -> None: . def propertyNames(validator, propertyNames, instance, schema) -> None: ... def additionalProperties(validator, aP, instance, schema) -> None: ... def items(validator, items, instance, schema) -> None: ... -def additionalItems(validator, aI, instance, schema) -> None: ... def const(validator, const, instance, schema) -> None: ... def contains(validator, contains, instance, schema) -> None: ... def exclusiveMinimum(validator, minimum, instance, schema) -> None: ... diff --git a/stubs/jsonschema/jsonschema/_legacy_keywords.pyi b/stubs/jsonschema/jsonschema/_legacy_keywords.pyi index 335525093..9f541de53 100644 --- a/stubs/jsonschema/jsonschema/_legacy_keywords.pyi +++ b/stubs/jsonschema/jsonschema/_legacy_keywords.pyi @@ -7,6 +7,7 @@ def dependencies_draft4_draft6_draft7(validator, dependencies, instance, schema) def disallow_draft3(validator, disallow, instance, schema) -> None: ... def extends_draft3(validator, extends, instance, schema) -> None: ... def items_draft3_draft4(validator, items, instance, schema) -> None: ... +def additionalItems(validator, aI, instance, schema) -> None: ... def items_draft6_draft7_draft201909(validator, items, instance, schema) -> None: ... def minimum_draft3_draft4(validator, minimum, instance, schema) -> None: ... def maximum_draft3_draft4(validator, maximum, instance, schema) -> None: ...