Skip to content

Commit

Permalink
Update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Jun 29, 2024
1 parent ae930a5 commit 866a4b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xarray/core/datatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,8 @@ def from_dict(
To assign data to the root node of the tree use "/" as the path.
name : Hashable | None, optional
Name for the root node of the tree. Default is None.
copy : bool, optional
Whether to make a shallow copy of the values in the dict. Default is True.
Returns
-------
Expand Down
2 changes: 2 additions & 0 deletions xarray/core/treenode.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,8 @@ def _set_item(
allow_overwrite : bool
Whether or not to overwrite any existing node at the location given
by path.
copy : bool, optional
Whether to make a shallow copy of the values in the node. Default is True.
Raises
------
Expand Down

0 comments on commit 866a4b3

Please sign in to comment.