Skip to main content
drop_environment(environment_name=None, options=)[source]

Drop an existing user-defined function (UDF) environment.

Parameters

environment_name (str) –

Name of the environment to be dropped. Must be an existing environment.

options (dict of str to str) –

Optional parameters. Allowed keys are:

  • no_error_if_not_exists – If true and if the environment specified in input parameter environment_name does not exist, no error is returned. If false and if the environment specified in input parameter environment_name does not exist, then an error is returned. Allowed values are:

    • true

    • false

    The default value is ‘false’.

The default value is an empty dict ( ).

Returns

A dict with the following entries–

environment_name (str) –

Value of input parameter environment_name.

info (dict of str to str) –

Additional information.