Fix recursive detach
This commit is contained in:
parent
53a5657850
commit
bde35ced47
|
@ -358,5 +358,3 @@ def recursively_detach(v):
|
||||||
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