def METHOD_NAME(py_conf=None):
    """Get `ConfigurationManager` from args"""
    logger.info(f"Entering get_conf, original py_conf is {py_conf}")
    logger.info("current working director is %s" % os.getcwd())
    attribute_class = py_conf
    if py_conf:
        if isinstance(py_conf, str):
            attribute_class = reflect_util.get_class(py_conf)
    properties = dict()
    for i in dir(attribute_class):
        if not i.startswith("__"):
            properties[i] = getattr(attribute_class, i)
    attribute_class = type(
        "py_conf",
        (ConfigurationManagerInterface,),
        properties,
    )
    all_conf = ConfigurationManagerMeta.merge_configs()
    return all_conf