konradhalas / dacite

Simple creation of data classes from dictionaries.
MIT License
1.72k stars 106 forks source link

Remove @cache decorator from get_default_value_for_field #216

Closed mciszczon closed 1 year ago

mciszczon commented 1 year ago

Fixes #215

We went one cache too far 😓 This should not hurt performance that much I think. A good v1.81 candidate.

carlos-sarmiento commented 1 year ago

Is it possible to release this fix as a proper release on PyPi? I'm hitting an unhashable type error and it is because of this cache.