3 ms·
My bad: it's exec(), not eval(). And I wrote dataclasses, so you'd think I'd know better! The issue is that it's dynamically generating methods. There has to b
by ericvsmith 6y ago
My bad: it's exec(), not eval(). And I wrote dataclasses, so you'd think I'd know better!
The issue is that it's dynamically generating methods. There has to be a way to get dynamically created code into python for this use case.