Skip to content

Commit eb74cf7

Browse files
committed
Fix failed doctest
Signed-off-by: Nathan McKimpson <nmckimpson@nvidia.com>
1 parent ee12278 commit eb74cf7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nemo_reinforcer/utils/logger.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ def flatten_dict(d: Dict[str, Any], sep: str = ".") -> Dict[str, Any]:
589589
590590
Examples:
591591
```{doctest}
592+
>>> from nemo_reinforcer.utils.logger import flatten_dict
592593
>>> flatten_dict({"a": 1, "b": {"c": 2}})
593594
{'a': 1, 'b.c': 2}
594595

0 commit comments

Comments
 (0)