Skip to content

Commit

Permalink
Update overview.md
Browse files Browse the repository at this point in the history
Typo fix
changed 
`assert isinstance(obj_none, MyTarget)` 
to 
`assert isinstance(obj_all, MyTarget)`
  • Loading branch information
akshay-raj-dhamija authored Jan 17, 2024
1 parent 2f76287 commit 13b51d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/advanced/instantiate_objects/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ assert isinstance(obj_object.foo, Foo)
assert isinstance(obj_object.bar, dict)

obj_all = instantiate(cfg, _convert_="all")
assert isinstance(obj_none, MyTarget)
assert isinstance(obj_all, MyTarget)
assert isinstance(obj_all.foo, dict)
assert isinstance(obj_all.bar, dict)
```
Expand Down

0 comments on commit 13b51d2

Please sign in to comment.