Skip to content

Commit

Permalink
Comment out _set_parent call in instantiate function
Browse files Browse the repository at this point in the history
  • Loading branch information
jesszzzz committed Jan 3, 2025
1 parent 0ede840 commit 7921743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydra/_internal/instantiate/_instantiate2.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def instantiate(config: Any, *args: Any, **kwargs: Any) -> Any:
config_copy._set_flag(
flags=["allow_objects", "struct", "readonly"], values=[True, False, False]
)
config_copy._set_parent(config._get_parent())
# config_copy._set_parent(config._get_parent())
config = config_copy

if kwargs:
Expand Down

0 comments on commit 7921743

Please sign in to comment.