rstudio / vetiver-python

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

endpoint_fx docstring as FastAPI description #179

Closed isabelizimm closed 1 year ago

isabelizimm commented 1 year ago

closes #177

Adds descriptions to each API endpoint in the generated FastAPI. In vetiver_post, the docstring for the new function is dedented to avoid formatting issues.

Additionally, handler_predict() functions are updated to be dedent compliant.