Skip to content

featurebyte.UserDefinedFunction

class UserDefinedFunction(
*,
user_id: Union[PydanticObjectId, NoneType]=None,
name: Union[StrictStr, NoneType]=None,
created_at: Union[datetime, NoneType]=None,
updated_at: Union[datetime, NoneType]=None,
block_modification_by: List[ReferenceInfo]=None,
description: Union[StrictStr, NoneType]=None,
catalog_id: Union[PydanticObjectId, NoneType]=None,
feature_store_id: PydanticObjectId,
sql_function_name: str,
function_parameters: List[FunctionParameter],
output_dtype: DBVarType
)

Description

A UserDefinedFunction object represents a user-defined function that can be used to transform view columns or feature. This object is callable and can be used as a function to transform view columns or feature.

Parameters

  • user_id: Union[PydanticObjectId, NoneType]

  • name: Union[StrictStr, NoneType]

  • created_at: Union[datetime, NoneType]

  • updated_at: Union[datetime, NoneType]

  • block_modification_by: List[ReferenceInfo]

  • description: Union[StrictStr, NoneType]

  • catalog_id: Union[PydanticObjectId, NoneType]

  • feature_store_id: PydanticObjectId

  • sql_function_name: str

  • function_parameters: List[FunctionParameter]

  • output_dtype: DBVarType