Open
Description
Welcome! Before you write your Feature Request, please read below:
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
Please add generics to frozendict
One should be able to define frozendict key and value types like so:
>>> import frozendict
>>> f = frozendict.frozendict[str, int]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'type' object is not subscriptable
this works
>>> import typing
>>> f = typing.Dict[str, int]
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Related: