def METHOD_NAME():
    method = st.getenv("SPYTEST_BASE_CONFIG_METHOD", "legacy")
    if method not in ["legacy", "klish", "config-db-click", "config-db-klish", "current"]:
        st.error("invalid base config method {}".format(method))
        method = "legacy"
    return method