File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 9
9
from .utils import *
10
10
from .dispatch import *
11
11
import inspect
12
+ from copy import copy
12
13
from plum import add_conversion_method , dispatch , Dispatcher
13
14
14
15
# Cell
Original file line number Diff line number Diff line change 21
21
" from fastcore.utils import *\n " ,
22
22
" from fastcore.dispatch import *\n " ,
23
23
" import inspect\n " ,
24
+ " from copy import copy\n " ,
24
25
" from plum import add_conversion_method, dispatch, Dispatcher"
25
26
]
26
27
},
1054
1055
"data" : {
1055
1056
"text/plain" : [
1056
1057
" A:\n " ,
1057
- " encodes: <function <function noop at 0x11adb9670 > with 2 method(s)>decodes: <function <function noop at 0x11adb9670 > with 2 method(s)>"
1058
+ " encodes: <function <function noop at 0x11e578160 > with 2 method(s)>decodes: <function <function noop at 0x11e578160 > with 2 method(s)>"
1058
1059
]
1059
1060
},
1060
1061
"execution_count" : null ,
1084
1085
"data" : {
1085
1086
"text/plain" : [
1086
1087
" A -- {'a': 1, 'b': 2}:\n " ,
1087
- " encodes: <function <function noop at 0x11adb9670 > with 3 method(s)>decodes: <function <function Transform.decodes at 0x11e5f8f70 > with 1 method(s)>"
1088
+ " encodes: <function <function noop at 0x11e578160 > with 3 method(s)>decodes: <function <function Transform.decodes at 0x121da7d30 > with 1 method(s)>"
1088
1089
]
1089
1090
},
1090
1091
"execution_count" : null ,
You can’t perform that action at this time.
0 commit comments