Method
updateFeatureGroupPythonFunction PATCH
Copy PATCH

Updates an existing Feature Group's python function from a user provided Python Function. If a list of feature groups are supplied within the python function

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes featureGroupId str The unique ID associated with the feature group.
Yes pythonFunctionName str The name of the python function to be associated with the feature group.
No pythonFunctionBindings List[PythonFunctionArgument] List of python function arguments.
No cpuSize CPUSize Size of the CPU for the feature group python function.
No memory MemorySize Memory (in GB) for the feature group python function.
No useGpu bool Whether the feature group needs a gpu or not. Otherwise default to CPU.
No useOriginalCsvNames bool If enabled, it uses the original column names for input feature groups from CSV datasets.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error

Exceptions:

TYPE WHEN
DataNotFoundError

featureGroupId is not found.

InvalidParameterError

If the feature group is not associated with a python function or other invalid params are received.

DataNotFoundError

If the inputs to the feature group are not found.

ConflictError

If the python function bindings are invalid.

Language: