forked from pydata/xarray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DataTree should not be "Generic" (pydata#9445)
* DataTree should not be "Generic" DataTree isn't a Generic tree type. It's a specific tree type -- the nodes are DataTree objects. This was resulting in many cases where mypy insisting on explicit type annotations, e.g., `tree: DataTree = DataTree(...)`, which is unnecessary and annoying boilerplate. * Fix type error * type ignore
- Loading branch information
1 parent
3193717
commit 2de4d27
Showing
2 changed files
with
64 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.