Skip to content

Commit 7921743

Browse files
committed
Comment out _set_parent call in instantiate function
1 parent 0ede840 commit 7921743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hydra/_internal/instantiate/_instantiate2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def instantiate(config: Any, *args: Any, **kwargs: Any) -> Any:
211211
config_copy._set_flag(
212212
flags=["allow_objects", "struct", "readonly"], values=[True, False, False]
213213
)
214-
config_copy._set_parent(config._get_parent())
214+
# config_copy._set_parent(config._get_parent())
215215
config = config_copy
216216

217217
if kwargs:

0 commit comments

Comments
 (0)