Skip to content

Commit

Permalink
more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Apr 26, 2024
1 parent 8bc7448 commit 1e143c7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions anemoi/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ class DotDict(dict):
>>> d.b = 3
>>> d.b
3
The class is recursive, so nested dictionaries are also DotDicts.
The DotDict class has the same constructor as the dict class.
>>> d = DotDict(a=1, b=2)
"""

def __init__(self, *args, **kwargs):
Expand Down

0 comments on commit 1e143c7

Please sign in to comment.