-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Needs: HelpExtra attention is neededExtra attention is neededNeeds: TestHey, it compiles! Ship it!Hey, it compiles! Ship it!Priority: LowNot a big problem...Not a big problem...Status: WontfixThis will not be worked onThis will not be worked onType: EnhancementNew feature or requestNew feature or request
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:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs: HelpExtra attention is neededExtra attention is neededNeeds: TestHey, it compiles! Ship it!Hey, it compiles! Ship it!Priority: LowNot a big problem...Not a big problem...Status: WontfixThis will not be worked onThis will not be worked onType: EnhancementNew feature or requestNew feature or request