Skip to content

Commit

Permalink
CloudPickler instance-level dispatch tables are not supported yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Sokolov committed Apr 13, 2021
1 parent 7261020 commit 46aae75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/python/ipystate/serialization.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import sys
from abc import abstractmethod
from collections import ChainMap
from typing import BinaryIO, Iterable, Dict, Set, Tuple, Any, IO, Union

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

class Serializer:
def __init__(self):
self._configurable_dispatch_table = ChainMap({}, CloudPickler.dispatch_table)
self._configurable_dispatch_table = CloudPickler.dispatch_table
self._tmp_path = None

def register_reducers(self):
Expand Down

0 comments on commit 46aae75

Please sign in to comment.