We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f062746 commit 1f2b6c6Copy full SHA for 1f2b6c6
referencing/_core.py
@@ -32,7 +32,7 @@ class Specification:
32
behavior across JSON Schema specification versions, etc.
33
"""
34
35
- id_of: Callable[[D], str | None]
+ id_of: Callable[[D], URI | None]
36
37
#: An opaque specification where resources have no subresources
38
#: nor internal identifiers.
@@ -77,7 +77,7 @@ def from_contents(
77
raise CannotDetermineSpecification(contents)
78
return cls(contents=contents, specification=specification)
79
80
- def id(self) -> str | None:
+ def id(self) -> URI | None:
81
82
Retrieve this resource's (specification-specific) identifier.
83
0 commit comments