Skip to content

Commit a3e3c35

Browse files
author
Nikita Sokolov
committed
CloudPickler instance-level dispatch tables are not supported yet
cloudpipe/cloudpickle#395
1 parent 250f5a8 commit a3e3c35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/python/ipystate/serialization.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import sys
22
from abc import abstractmethod
3-
from collections import ChainMap
43
from typing import BinaryIO, Iterable, Dict, Set, Tuple, Any, IO, Union
54

65
from cloudpickle import CloudPickler
@@ -113,7 +112,7 @@ def bytes_to_int(b: bytes) -> int:
113112

114113
class Serializer:
115114
def __init__(self):
116-
self._configurable_dispatch_table = ChainMap({}, CloudPickler.dispatch_table)
115+
self._configurable_dispatch_table = CloudPickler.dispatch_table
117116
self._tmp_path = None
118117

119118
def register_reducers(self):

0 commit comments

Comments
 (0)