Skip to content

Conversation

jorwoods
Copy link
Contributor

Closes #1666

This allows ResourceReference to be used as a key in dicts, as well as added to sets by making it hashable. Also adds a to_reference method, while leaving the the as_reference static method in place untouched.

@jorwoods jorwoods force-pushed the jorwoods/hashing_reference branch from 3890990 to a7310ee Compare October 17, 2025 20:28
Closes tableau#1666

This allows `ResourceReference` to be used as a key in dicts,
as well as added to sets by making it hashable. Also adds a
`to_reference` method, while leaving the the `as_reference`
static method in place untouched.
@jorwoods jorwoods force-pushed the jorwoods/hashing_reference branch from a7310ee to c39ba83 Compare October 17, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make ReferenceItem hashable

1 participant