Skip to content

Commit

Permalink
Fixed in pyright or referencing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Jan 16, 2025
1 parent 1e26b0b commit 6f24bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion referencing_loaders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _from_walked(
for path in paths:
contents = json.loads(path.read_text())
if specification is None:
specification = Specification.detect(contents) # type: ignore[reportUnknownMemberType]
specification = Specification.detect(contents)
resource = specification.detect(contents).create_resource(contents)
uri = getattr(path, "as_uri", lambda: "")() # pragma: no cover
yield uri, resource

0 comments on commit 6f24bdf

Please sign in to comment.