Skip to main content
interface AlterEnvironmentRequest
action: string;
environment_name: string;
options?: Record<string, string>;
value: string;
action: string

Modification operation to be applied.

environment_name: string

Name of the environment to be altered.

options?: Record<string, string>

Optional parameters.

value: string

The value of the modification, depending on action. For example, if action is install_package, this would be the python package name.

If action is install_requirements, this would be the path of a requirements file from which to install packages.

If an external data source is specified in datasource_name, this can be the path to a wheel file or source archive. Alternatively, if installing from a file (wheel or source archive), the value may be a reference to a file in KiFS.