I have a dictionary to store N number of partial function calls.
dict_ = {1: partial(FUNCTION, ARG1,ARG2,ARG3 )}
which works fine.
If I store this dictionary inside a .json file I have quotes around my partial call
dict_ = {"1":"partial(FUNCTION, ARG1,ARG2,ARG3 )"}
How do I get rid of this quotes in order to execute the code?
ast.literal_eval(dict_ ['1'])
returns ValueError('malformed node or string:..