Skip to content

featurebyte.UserDefinedFunction.update_function_parameters

update_function_parameters(
function_parameters: List[FunctionParameter]
)

Description

Update the function parameters of the user-defined function.

Parameters

  • function_parameters: List[FunctionParameter]
    The function parameters of the user-defined function.

Examples

>>> cos_udf = catalog.get_user_defined_function("cos")
>>> cos_udf.update_function_parameters([FunctionParameter(name="value", dtype=DBVarType.FLOAT)])
>>> cos_udf.function_parameters
[FunctionParameter(name='value', dtype='FLOAT', default_value=None, test_value=None)]