Skip to main content
  • Alters an existing environment which can be referenced by a user-defined function (UDF).

    Parameters

    • environment_name: string

      Name of the environment to be altered.

    • action: string

      Modification operation to be applied.

    • 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.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<AlterEnvironmentResponse>

    Promise<Types.AlterEnvironmentResponse> - Promise resolving to the response