unreal.DataprepOperation

class unreal.DataprepOperation(outer=None, name='None')

Bases: unreal.Object

Todo add class wide comment

C++ Source:

  • Plugin: DataPrepEditor
  • Module: DataprepCore
  • File: DataPrepOperation.h
execute(objects) → None

Execute the operation

Parameters:objects (Array(Object)) – The objects that the operation will operate on
get_additional_keyword() → Text

Allows to add more keywords for when a user is searching for the fetcher in the ui.

Returns:
Return type:Text
get_category() → Text

Allows to change the tooltip of the fetcher for the ui if needed.

Returns:
Return type:Text
get_display_operation_name() → Text

Allows to change the name of the fetcher for the ui if needed.

Returns:
Return type:Text
get_tooltip() → Text

Allows to change the tooltip of the fetcher for the ui if needed.

Returns:
Return type:Text
log_error(log_error) → None

Add Error to the log

Parameters:log_error (Text) –
log_info(log_text) → None

Add an info to the log

Parameters:log_text (Text) – The text to add to the log
log_warning(log_text) → None

Add a warning to the log

Parameters:log_text (Text) – The text to add to the log
on_execution(context) → None

This function is called when the operation is executed. If your defining your operation in Blueprint or Python this is the function to override.

Parameters:context (DataprepContext) – The context contains the data that the operation should operate on.