You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the references to _file_obj outside low level code paths, change to _close (#4809)
* Move from _file_obj object to _close function
* Remove all references to _close outside of low level
* Fix type hints
* Cleanup code style
* Fix non-trivial type hint problem
* Revert adding the `close` argument and add a set_close instead
* Remove helper class for an easier helper function + code style
* Add set_close docstring
* Code style
* Revert changes in _replace to keep cose as an exception
See: https://github.com/pydata/xarray/pull/4809/files#r557628298
* One more bit to revert
* One more bit to revert
* Add What's New entry
* Use set_close setter
* Apply suggestions from code review
Co-authored-by: Stephan Hoyer <[email protected]>
* Rename user-visible argument
* Sync wording in docstrings.
Co-authored-by: Stephan Hoyer <[email protected]>
0 commit comments