alias_api.AlHashable

class alias_api.AlHashable

Bases: AlLinkItem

Base class for objects which can be inserted into an AlDictionary.

AlHashable provides a contract for any class which wishes to be stored in an AlDictionary, namely the necessity of providing a hash key and the ability to be stored in a list.