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
The code below imagines a basic / bare-bones approach, but execution environments are a resource class with CRUD methods, so — thinking about it, that should be our approach.
So, this looks like
The content you are editing has changed. Please copy your edits and refresh the page.
# A tibble: 3 × 3languageversionpath<chr><chr><chr>1Python3.10.4/opt/python/3.10.4/bin/python32Quarto1.0.35/opt/quarto/bin/quarto3R4.1.3/opt/R/4.1.3/bin/R
Notes
The subsetting looks kinda janky. I'm assuming here that environments is a list of environments with more than just runtimes, but if all we care about here is runtimes, I guess I could imagine a few return formats: (1) a data frame with a column for environment name; (2) a list of environments, each a list with multiple fields including runtimes; (3) a list of environments, each an object with multiple fields including runtimes; (4) a list of runtime tibbles. [Update] We should do number (3).
Accept many things, but at the very outset covert to a single type.
It's reasonable that if you know a version, you can guess the path. Like 4.2.3, guess the path?
What if it's a vector of versions?
Could just have just separate parameters for python, quarto, r, tensorflow. list(list(path = "opt/234/r", version = "234"), list(path = "opt/567/r", version = "567")).
The text was updated successfully, but these errors were encountered:
toph-allen
changed the title
Implement cookbook recipes in connectapi: Creating Execution Environments, Viewing Execution Environment Runtimes
Support cookbook in connectapi: Creating Execution Environments, Viewing Execution Environment Runtimes
Oct 22, 2024
The code below imagines a basic / bare-bones approach, but execution environments are a resource class with CRUD methods, so — thinking about it, that should be our approach.
So, this looks like
Tasks
Viewing Execution Environment Runtimes
Notes
The subsetting looks kinda janky. I'm assuming here that(3) a list of environments, each an object with multiple fields including runtimes;environments
is a list of environments with more than just runtimes, but if all we care about here is runtimes, I guess I could imagine a few return formats: (1) a data frame with a column for environment name; (2) a list of environments, each a list with multiple fields including runtimes;(4) a list of runtime tibbles.[Update] We should do number (3).Creating Execution Environments
A JSON object representing the environment is returned.
Accept many things, but at the very outset covert to a single type.
It's reasonable that if you know a version, you can guess the path. Like 4.2.3, guess the path?
What if it's a vector of versions?
Could just have just separate parameters for python, quarto, r, tensorflow.
list(list(path = "opt/234/r", version = "234"), list(path = "opt/567/r", version = "567"))
.The text was updated successfully, but these errors were encountered: