xarray.DataTree.rest.serve#

DataTree.rest.serve(**kwargs)#

Serve this FastAPI application via uvicorn.run().

NOTE: This method is blocking and does not return.

Parameters:

**kwargs – Arguments passed to xpublish.SingleDatasetRest.serve().