alter_environment
- alter_environment(
environment_name: string,
action: string,
value: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<AlterEnvironmentResponse>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, ifactionis install_package, this would be the python package name.If
actionis 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: GPUdbCallbackOptional callback function
Returns Promise<AlterEnvironmentResponse>
Promise<Types.AlterEnvironmentResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:4066
- environment_name: string
alter_environment_request
- alter_environment_request(
request: AlterEnvironmentRequest,
callback?: GPUdbCallback,
): Promise<AlterEnvironmentResponse>Alters an existing environment which can be referenced by a user-defined function (UDF).
Parameters
- request: AlterEnvironmentRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AlterEnvironmentResponse>
Promise<Types.AlterEnvironmentResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:4028
- request: AlterEnvironmentRequest
Alters an existing environment which can be referenced by a user-defined function (UDF).