Closed pckroon closed 3 years ago
Turns out ModelOutput objects were not unpicklable. This PR fixes that.
Without the __getnewargs_ex__ method a missing positional argument error is raised on __new__, without the get/setstate methods you get an infinite recursion loop.
__getnewargs_ex__
__new__
Done, but note that py3.5 is EOL.
Turns out ModelOutput objects were not unpicklable. This PR fixes that.
Without the
__getnewargs_ex__
method a missing positional argument error is raised on__new__
, without the get/setstate methods you get an infinite recursion loop.