unreal.DataprepStringFetcher

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

Bases: unreal.DataprepFetcher

The string fetcher is a specialized type of fetcher for the string

C++ Source:

  • Plugin: DataprepEditor

  • Module: DataprepCore

  • File: DataprepStringFetcher.h

fetch(object) -> (str, out_fetch_succeded=bool)

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

Parameters

object (Object) – The object from which the fetcher should try to retrieve the string

Returns

The fetched string

out_fetch_succeded (bool): If the fetcher managed to retrieve the string from the object this bool must be set to true

Return type

bool