Issue: aes.__init(...) is type-hinted via its docstring. **kwargs is type-hinted incorrectly, viz.:
**kwargs : dict
Other aesthetic mappings
This type hint means 'the value of any named parameter should be of type dict'. Clearly, that is not the intention - kwargsitself is a dict, the values contained in it can be of arbitrary type.
This causes issues e.g. in PyCharm, which flags an incorrect type every single time I use aes(...) with keyword arguments.
Hey!
Issue:
aes.__init(...)
is type-hinted via its docstring.**kwargs
is type-hinted incorrectly, viz.:This type hint means 'the value of any named parameter should be of type
dict
'. Clearly, that is not the intention -kwargs
itself is a dict, the values contained in it can be of arbitrary type.This causes issues e.g. in PyCharm, which flags an incorrect type every single time I use
aes(...)
with keyword arguments.Fix: change the docstring above to