Skip to content

featurebyte.Catalog.get_user_defined_function_by_id

get_user_defined_function_by_id(
id: ObjectId
) -> UserDefinedFunction

Description

Get user defined function by id.

Parameters

  • id: ObjectId
    User defined function id.

Returns

  • UserDefinedFunction
    User defined function object.

Examples

Get a saved user defined function.

>>> user_defined_function = catalog.get_user_defined_function_by_id(
...     ObjectId()
... )  # doctest: +SKIP