pydash 4.9.1 can no longer get value on a dict object with int key using string notation
lephuongbg opened this issue · comments
Following no longer works in pydash 4.9.1:
assert pydash.get({1: {'name': 'John Doe'}}, '1.name') == 'John Doe'
This is most likely due to this commit that fixes #156 , due to the check with dict.get
that doesn't preserve current behavior of pydash.
Thanks for reporting this!
Should be fixed in v4.9.2.