Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhealy1 committed Jan 10, 2025
1 parent 99477a1 commit 712e571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stac_validator/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ def validate_with_ref_resolver(schema_path: str, content: dict) -> None:
raise FileNotFoundError(f"Schema file not found: {schema_path}") from e

# Set up the resource and registry for schema resolution
resource = Resource(contents=schema, specification=DRAFT202012)
registry = Registry(retrieve=cached_retrieve).with_resource(
resource: Resource = Resource(contents=schema, specification=DRAFT202012)
registry: Registry = Registry(retrieve=cached_retrieve).with_resource(
uri=schema_path, resource=resource
)

Expand Down

0 comments on commit 712e571

Please sign in to comment.