Skip to content

Commit 1ba94dc

Browse files
committed
Remove the thankfully now-unneeded OpaqueSpec misimplementation.
1 parent ab90df6 commit 1ba94dc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

referencing/_core.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ class OpaqueSpecification:
7979
"""
8080

8181
def id_of(self, resource):
82-
if resource is True or resource is False:
83-
return
84-
return resource.get("$id") # REMOVEME
82+
return
8583

8684
def anchors_in(self, resource):
8785
return ()

0 commit comments

Comments
 (0)