def get_config_path()

in src/smspark/config_path_utils.py [0:0]


def get_config_path(path_types: ConfigPathTypes) -> Optional[str]:
    """Return the config path of corresponding path type."""
    for path in path_types.value:
        if os.path.exists(path):
            return path

    return None