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.
Added the
available
attribute to TileDBBackendEntrypoint to be compatible with xarray version 0.19.0Former 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 anavailable
attribute on the backend entrypoint class that depends on has_ourpackage, and then unequivocally settingBACKEND_ENTRYPOINT["ourpackage"] = ...
. And if the available attribute in not added, an error is raised.