PicklingError: Can't pickle <class 'nece.models.Language'>: it's not found as nece.models.Language
pickle tries to find a Language class in the module but namedtuple's are created on the fly. This is a quick&dirty solution to the problem. It may not be as optimized as namedtuple's but fixes the problem at the moment. We may need to refactor the code in the future.
PicklingError: Can't pickle <class 'nece.models.Language'>: it's not found as nece.models.Language
pickle
tries to find aLanguage
class in the module butnamedtuple
's are created on the fly. This is a quick&dirty solution to the problem. It may not be as optimized asnamedtuple
's but fixes the problem at the moment. We may need to refactor the code in the future.