Description Usage Arguments Value Examples
Frame is kind of revision of data user is going to publish. It consists of one or more views. Views are usually plots with some parameters to distinguish one plot from another. This function creates a frame and by default it checks permission to publish to this stack.
1 2 3 4 5 6 7 8 |
stack |
A name of stack to use. |
profile |
A profile refers to credentials, i.e. username and token. Default profile is named 'default'. The system is looking for specified profile as follows: it looks into working directory to find a configuration file (local configuration), if the file doesn't exist it looks into user directory to find it (global configuration). The best way to manage profiles is to have dstack CLI tools installed. These tools are written in Python 3, so you have to install dstack support. In the case of PyPI you should type
or
We recommend to use local (virtual) environment to install the package. You can use this command in console:
to list existing profiles or add or replace token by following command
or simply
if profile is not specified 'default' profile will be created. The system asks you about token from command line, make sure that you have already obtained token from the site. |
auto_push |
Tells the system to push frame just after commit.
It may be useful if you want to see result immediately. Default is |
protocol |
Protocol to use, usually it is |
encryption |
This is a ecryption method. By default is |
check_access |
Check access to specified stack, default is |
New frame.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.