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