Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement variant functions #189

Open
kmasiello opened this issue Apr 30, 2024 · 0 comments
Open

Implement variant functions #189

kmasiello opened this issue Apr 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kmasiello
Copy link

See https://pkgs.rstudio.com/connectapi/reference/VariantR6.html

Notably, the workflow we would like to enable with the sdk is triggering a variant to re-render and then subsequently send an email. Something along the lines of:

client = connect.Client()
content_variant = client.varient.find("default")
new_render =  content_variant.render()
new_render.send_mail(to="me")

Also see rstudio/connectapi#257

@tdstein tdstein added the enhancement New feature or request label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants