def get_handler_object(class_name):

    if class_name not in HANDLER_OBJECTS:
        h_obj = get_callable_from_string(class_name)()
        if isinstance(h_obj, BaseHandler):
            pass # TODO: Do we even need BaseHandler any more?
        HANDLER_OBJECTS[class_name] = h_obj

    return HANDLER_OBJECTS[class_name]
Return a single instance of the given class name, instantiating it if necessary
dataset/ETHPy150Open nigelkersten/pymacadmin/bin/crankd.py/get_handler_object