Skip to content

Commit

Permalink
Fix side effect import for pickleutil (#1216)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Feb 29, 2024
1 parent 56a6372 commit 384bdb1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ipykernel/pickleutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
from types import FunctionType

# This registers a hook when it's imported
try:
from ipyparallel.serialize import codeutil # noqa: F401
except ImportError:
pass
from traitlets.log import get_logger
from traitlets.utils.importstring import import_item

Expand Down

0 comments on commit 384bdb1

Please sign in to comment.