Component class is not hashable #4636
Labels
Component: API
Issue needs changes to the API
Effort: Trivial
Issue should take < 1 day
Impact: Low
Issue is a papercut or has a good, supported workaround
Type: Enhancement
Issue is a small enhancement to existing functionality
Milestone
What is the feature you'd like to have?
I would like for the Python Component class to be hashable via hash method implementation.
Is your feature request related to a problem?
On Sidekick, we are currently having to manually define an implementation instead of just using one provided by the class.
Are any alternative solutions acceptable?
This is what we are currently doing on Sidekick to achieve the desired feature:
Component.__hash__ = lambda self: cast(Component, self).guid.__hash__()
The text was updated successfully, but these errors were encountered: