Enable __hash__
on all Pybricks object types.
#876
Labels
enhancement
New feature or request
software: pybricks-micropython
Issues with Pybricks MicroPython firmware (or EV3 runtime)
topic: MicroPython
Issues related to the MicroPython programming language
Is your feature request related to a problem? Please describe.
I want to use a
Motor
object as the key in a dictionary. It current fails withTypeError: unsupport type for __hash__
.Describe the solution you'd like
All types should implement hash.
The text was updated successfully, but these errors were encountered: