rex.utilities.fun_utils.get_fun_str

get_fun_str(fun)[source]

Get the function string from a function object including the ClassName.function if the function is bound

Returns:

out (str) – The function string to call the input function. For example MyClass.bound_method will return “MyClass.bound_method”, whereas standalone_fun will return “standalone_fun”.