Skip to content

Commit ae91d80

Browse files
committed
Added _collect_properties function missing type annotation
1 parent 8f069ee commit ae91d80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_spec_validator/validation/keywords.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(self, registry: "KeywordValidatorRegistry"):
7373
def default_validator(self) -> ValueValidator:
7474
return cast(ValueValidator, self.registry["default"])
7575

76-
def _collect_properties(self, schema) -> set[str]:
76+
def _collect_properties(self, schema: SchemaPath) -> set[str]:
7777
"""Return *all* property names reachable from this schema."""
7878
props: set[str] = set()
7979

0 commit comments

Comments
 (0)