Skip to content

Should PersistableMixin fall back to stdlib pickle library if apptools is not installed #45

@rahulporuri

Description

@rahulporuri

codetools.contexts.data_context.DataContext is one of the common reasons why other packages/applications use codetools. At the moment, needing a DataContext forces the user to install apptools because of the dependency of PersistableMixin on apptools.sweet_pickle.

data_context = sweet_pickle.load(file_object)

sweet_pickle.dump(self, file_object, 1)

To remove the strong dependency on apptools, should PersistableMixin simply fall back to using the pickle library in the standard library if apptools is not installed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions