Module Functions¶
-
class
wishbone.function.module.append.Append(data, destination='tags')[source]¶ Adds a value to an existing list.
A Wishbone module function which add a value to an existing list.
Parameters: -
do(event)[source]¶ The function mapped to the module function.
Parameters: event¶ – The Wishbone event. Returns: The modified event. Return type: wishbone.event.Event
-
-
class
wishbone.function.module.lowercase.Lowercase(source='data', destination='data')[source]¶ Puts the desired field in lowercase.
A Wishbone module function which converts the desired field to lowercase.
Parameters: -
do(event)[source]¶ The function mapped to the module function.
Parameters: event¶ – The Wishbone event. Returns: The modified event. Return type: wishbone.event.Event
-
-
class
wishbone.function.module.set.Set(data, destination='data')[source]¶ Sets a field to the desired value.
A Wishbone module function which sets data to the desired field. Data can be a template.
Parameters: -
do(event)[source]¶ The function mapped to the module function.
Parameters: event¶ – The Wishbone event. Returns: The modified event. Return type: wishbone.event.Event
-
-
class
wishbone.function.module.uppercase.Uppercase(source='data', destination='data')[source]¶ Puts the desired field in uppercase.
A Wishbone module function which converts the desired field to uppercase.
Parameters: -
do(event)[source]¶ The function mapped to the module function.
Parameters: event¶ – The Wishbone event. Returns: The modified event. Return type: wishbone.event.Event
-