Skip to content

Commit

Permalink
Fix side effect import for pickleutil (#1217)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Feb 29, 2024
1 parent c1d944e commit d6474e9
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 d6474e9

Please sign in to comment.