Skip to content
Snippets Groups Projects
Commit b6f5e30b authored by vlorentz's avatar vlorentz
Browse files

HashableObject: Add type annotation for 'id' attribute

This class is a mixin that only works with classes that define
this attribute, so it makes sense to declare it.

It also allows generic functions (that take a HashableObject
parameter) to access it without 'type: ignore'.
parent e8794971
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment