Describe the bug
I am seeing random errors when prefetching a model with ormar 0.20.1
Identified the bug in translate_list_to_dict using a dict as a default argument
To Reproducetranslate_list_to_dict(["aa", "aa__inner", "bb"], default={})
Expected behavior
ret = {"aa": {"inner": {}}, "bb": {}}
Describe the bug I am seeing random errors when prefetching a model with ormar 0.20.1 Identified the bug in
translate_list_to_dict
using a dict as a default argumentTo Reproduce
translate_list_to_dict(["aa", "aa__inner", "bb"], default={})
Expected behavior ret = {"aa": {"inner": {}}, "bb": {}}