rex.utilities.fun_utils.get_class

get_class(obj)[source]

Get the name of the class that the method object is bound to. Returns an empty string if the method object is not bound to a class.

Returns:

out (str) – The class name the input object method belongs to. For example, MyClass.bound_method will return “MyClass”, whereas standalone_fun will return an empty string.