rstudio / vetiver-python

Version, share, deploy, and monitor models.
https://rstudio.github.io/vetiver-python/stable/
MIT License
59 stars 17 forks source link

Error earlier when people try to deploy a temporary board #193

Open isabelizimm opened 11 months ago

isabelizimm commented 11 months ago

Currently, when people try to deploy a model from a temporary pins board, the deployment will successfully complete and then error on API startup. On deployment, raising an error that you're trying to deploy a model from a temporary board would be a more elegant failure.

One place that this might be painful is in testing situations, but I think tearing down boards after/using temporary directories would be an okay workaround.