Skip to content

Commit 417e7c7

Browse files
james-leinasclaude
andcommitted
fix: Add type ignore for jsonschema RefResolver store argument
The RefResolver's store parameter has an incorrect type hint that doesn't match the actual expected usage. The store needs to be a dict of schema objects, not strings. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent cbb312d commit 417e7c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/allotropy/allotrope/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def validate_asm_schema(asm_dict: dict[str, Any]) -> None:
8585
resolver = jsonschema.RefResolver(
8686
base_uri=schema.get("$id", ""),
8787
referrer=schema,
88-
store=store,
88+
store=store, # type: ignore[arg-type]
8989
)
9090
validator = jsonschema.validators.Draft202012Validator(
9191
schema, resolver=resolver, format_checker=FORMAT_CHECKER

0 commit comments

Comments
 (0)