id,node_id,number,state,locked,title,user,body,created_at,updated_at,closed_at,merged_at,merge_commit_sha,assignee,milestone,draft,head,base,author_association,auto_merge,repo,url,merged_by 737412758,PR_kwDOAMm_X84r9AaW,5802,closed,0,BUG: xarray.backends.plugins.get_backend: fix passing in a backend directly,2129135,"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` ",2021-09-20T09:47:34Z,2021-09-20T20:35:09Z,2021-09-20T11:07:03Z,,8659073c67b6e0b0894be200901afa22cc52969f,,,0,628fbc86af8abd1a7e69d1e8c441734d12e31ba9,a1635d324753588e353e4e747f6058936fa8cf1e,NONE,,13221727,https://github.com/pydata/xarray/pull/5802,