TileDB-Inc / TileDB-CF-Py

TileDB interface with awareness of the CF metadata conventions
https://tiledb-inc.github.io/TileDB-CF-Py/
MIT License
19 stars 3 forks source link

Add available #56

Closed calexat-123 closed 3 years ago

calexat-123 commented 3 years ago

Added the available attribute to TileDBBackendEntrypoint to be compatible with xarray version 0.19.0

Former practice for other backends was to get has_ourpackage at the top and then do: if has_ourpackage: BACKEND_ENTRYPOINT["ourpackage"] = ... But this appears to have changed to just set an available attribute on the backend entrypoint class that depends on has_ourpackage, and then unequivocally setting BACKEND_ENTRYPOINT["ourpackage"] = .... And if the available attribute in not added, an error is raised.

jp-dark commented 3 years ago

Replaced with PR #57