You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't tried this myself, but we do provide a lot of hooks into the deployment process for more advanced use cases so I would be interested in hearing about how it goes for you. I think I would try a process like:
# Generated by the vetiver package; edit with care
library(pins)
library(plumber)
library(rapidoc)
library(vetiver)
library(future)
library(promises)
b<- board_connect(auth="envvar")
v<- vetiver_pin_read(b, "user.name/model-name", version="version-number")
#* @plumberfunction(pr) {
promises::future_promise({ pr %>% vetiver_api(v) })
}
Have you tried anything like this before?
Once you have your plumber file, you can deploy it in whatever way it appropriate for your infrastructure, like rsconnect::deployAPI() or using Docker or similar.
Is there any way of use promises::future_promise in an endpoint of vetiver api?
In my regular plumbers api I have something like that
The text was updated successfully, but these errors were encountered: