Open Rizhiy opened 6 years ago
Agreed, in some cases/libraries, input parameters type is fixed, which requires people to convert the easydict item back to whatever the function needs, seems to be a little bit awkward.
Don't hesitate to open a PR and fix it:
Currently, all tuples, lists and their subclasses are converted to lists, which is not ideal. They should be converted back to their class/subclass (e.g. namedtuple).
BTW: why do you recurse down tuples/lists at all?