SshMixin¶
- class SshMixin[source]¶
Provides various properties to the base
YZLiteModelused by thesshYZLITE command.Properties
If true then create the YZLITE python virtual environment in the specified remote_directory.
List of remote files to download after invoking YZLITE command.
List of environment variables to export in the remote machine's shell session before invoking YZLITE command.
Directory path to remote machine's workspace.
List of shell commands to execute after invoking YZLITE command.
List of shell commands to execute before invoking YZLITE command.
List of local files to upload before invoking YZLITE command.
Methods
__init__- property ssh_remote_dir¶
Directory path to remote machine’s workspace. This overrides any settings in ~/.yzlite/user_settings.yaml
See also
- property ssh_startup_cmds¶
List of shell commands to execute before invoking YZLITE command. This overrides any settings in ~/.yzlite/user_settings.yaml
See also
- property ssh_shutdown_cmds¶
List of shell commands to execute after invoking YZLITE command. This overrides any settings in ~/.yzlite/user_settings.yaml
See also
- property ssh_upload_files¶
List of local files to upload before invoking YZLITE command. All paths must be relative to the model specification script. This overrides any settings in ~/.yzlite/user_settings.yaml
See also
- property ssh_download_files¶
List of remote files to download after invoking YZLITE command. All paths must be relative to the model specification script. This overrides any settings in ~/.yzlite/user_settings.yaml
See also
- property ssh_environment¶
List of environment variables to export in the remote machine’s shell session before invoking YZLITE command. This overrides any settings in ~/.yzlite/user_settings.yaml
See also
- property ssh_create_venv¶
If true then create the YZLITE python virtual environment in the specified remote_directory. This overrides the setting in ~/.yzlite/user_settings.yaml
See also