Hash_funcs don`t support typing objects

In the latest version the hash_funcs in st.cache doesn`t support typing objects (as List, Dict etc…)

For example:

from typing import List
    hash_funcs={List: lambda _: None})

will throw this error:

AttributeError: __qualname__

If I use list instead of List it works…
In previous versions it worked with the typing objects as well…

Hi @theletz -

What behavior are you trying to trigger here? In your example, isn’t this just passing a constant?