dgilland / pydash

The kitchen sink of Python utility libraries for doing "stuff" in a functional way. Based on the Lo-Dash Javascript library.
http://pydash.readthedocs.io
MIT License
1.32k stars 93 forks source link

Type fixes #196

Closed DeviousStoat closed 1 year ago

DeviousStoat commented 1 year ago

The iteratee of all these functions should be able to return Any type so that the criterion can be any subvalue of the elements.

The other _by functions seem fine. It is the arrays one that had this problem.

dgilland commented 1 year ago

Released this and https://github.com/dgilland/pydash/pull/195 in v7.0.3: https://pypi.org/project/pydash/7.0.3/