Fix recursive detach
This commit is contained in:
parent
53a5657850
commit
bde35ced47
|
@ -357,6 +357,4 @@ def recursively_detach(v):
|
||||||
out = {}
|
out = {}
|
||||||
for k, t in v.items():
|
for k, t in v.items():
|
||||||
out[k] = recursively_detach(t)
|
out[k] = recursively_detach(t)
|
||||||
return out
|
return out
|
||||||
else:
|
|
||||||
raise ValueError("Unsupported type")
|
|
Loading…
Reference in New Issue
Block a user