get_function_name

qf_lib.common.utils.miscellaneous.function_name.get_function_name(parent_idx=0) str[source]

While called inside a function or a class method it returns the name of the function/method that called it as a string. For example inside method_a() definition, the get_function_name() returns ‘method_a’.