xpublish-community / xpublish

Publish Xarray Datasets via a REST API.
https://xpublish.readthedocs.io
Apache License 2.0
167 stars 23 forks source link

Add TypeError on single dataset #173

Closed abkfenris closed 1 year ago

abkfenris commented 1 year ago

If a single dataset is passed to xpublish.Rest it now throws a TypeError directing the user to use xpublish.SingleDatasetRest.

I also found a few tests that were testing other things, but were passing a single dataset to xpublish.Rest.

Closes #149