-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance the ugly error in constructor when no data passed #8920
Conversation
Thank you for opening this pull request! It may take us a few days to respond here, so thank you for being patient. |
Thanks @aimtsou ! (a test would be nice but probably not strictly required...) |
@max-sixty: Thank you for the clarification, I will take a look at your tests to see how they are written. Also i see this check fails, "Read the Docs build failed!" but I assume it is not something on my end since I did not touch the documentation. |
For example xarray/xarray/tests/test_dataset.py Line 6799 in db680b0
We take care of that! Thanks @aimtsou ! |
Looks great! A follow-up PR with a test would be good but not strictly required. And feel free to add a changelog. These sorts of PRs are very much appreciated, please keep them coming! (@Illviljan & @dcherian I'm merging a bit quickly because I think it's important folks can make a quick change without having other things "hung onto the Christmas tree", and I reckon error messages are underrated by us devs #8264 ) |
This fix enhances the issue 8860.
I did not add any test since I believe it is not needed for this case since we did not add any functionality.
whats-new.rst
api.rst