Skip to content

Commit

Permalink
move session-related code to session.py submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
leogama committed Jul 16, 2022
1 parent 1732e3d commit 3de322f
Show file tree
Hide file tree
Showing 3 changed files with 601 additions and 572 deletions.
14 changes: 8 additions & 6 deletions dill/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@


from ._dill import (
dump, dumps, load, loads, dump_module, load_module, load_module_asdict,
dump_session, load_session, is_module_pickle, Pickler, Unpickler, register,
copy, pickle, pickles, check, HIGHEST_PROTOCOL, DEFAULT_PROTOCOL,
PicklingError, UnpicklingError, HANDLE_FMODE, CONTENTS_FMODE, FILE_FMODE,
PickleError, PickleWarning, PicklingWarning, UnpicklingWarning,
Pickler, Unpickler,
check, copy, dump, dumps, load, loads, pickle, pickles, register,
DEFAULT_PROTOCOL, HIGHEST_PROTOCOL, CONTENTS_FMODE, FILE_FMODE, HANDLE_FMODE,
PickleError, PickleWarning, PicklingError, PicklingWarning, UnpicklingError,
UnpicklingWarning,
)
from . import source, temp, detect
from .session import dump_module, is_module_pickle, load_module, load_module_asdict
from .session import dump_session, load_session # backward compatibility
from . import detect, session, source, temp

# get global settings
from .settings import settings
Expand Down
Loading

0 comments on commit 3de322f

Please sign in to comment.