id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 1000769524,PR_kwDOAMm_X84r9AaW,5802,BUG: xarray.backends.plugins.get_backend: fix passing in a backend directly,2129135,closed,0,,,6,2021-09-20T09:47:34Z,2021-09-20T20:35:09Z,2021-09-20T11:07:03Z,NONE,,0,pydata/xarray/pulls/5802,"The `open_dataset` and `open_mfdataset` functions allow a user to pass in a (custom) backend directly. This was however not functioning. Selecting an engine with a string was functioning as expected, however, passing in a backend class directly failed. An instance of the backend is now created. A test has been added, as well as some type hints. - [ ] Closes #xxxx - [x] Tests added - [ ] Passes `pre-commit run --all-files` - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] New functions/methods are listed in `api.rst` ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/5802/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull