Skip to content

Commit

Permalink
rename experimental features
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-cnivera committed Oct 18, 2024
1 parent 1257d34 commit 219f196
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions journeys/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def table_selector_dialog() -> None:

st.markdown("<div style='margin: 240px;'></div>", unsafe_allow_html=True)
experimental_features = st.checkbox(
"Enable experimental features (optional)",
help="Checking this box will enable generation of experimental features in the semantic model. If enabling this setting, please ensure that you have the proper parameters set on your Snowflake account. Some features (e.g. joins) are currently in Private Preview and available only to select accounts. Reach out to your account team for access.",
"Enable joins (optional)",
help="Checking this box will enable you to add/edit join paths in your semantic model. If enabling this setting, please ensure that you have the proper parameters set on your Snowflake account. Reach out to your account team for access.",
)

st.session_state["experimental_features"] = experimental_features
Expand Down
8 changes: 5 additions & 3 deletions journeys/iteration.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,8 @@ def set_up_requirements() -> None:
file_name = st.selectbox("File name", options=available_files, index=None)

experimental_features = st.checkbox(
"Enable experimental features (optional)",
help="Checking this box will enable generation of experimental features in the semantic model. If enabling this setting, please ensure that you have the proper parameters set on your Snowflake account. Some features (e.g. joins) are currently in Private Preview and available only to select accounts. Reach out to your account team for access.",
"Enable joins (optional)",
help="Checking this box will enable you to add/edit join paths in your semantic model. If enabling this setting, please ensure that you have the proper parameters set on your Snowflake account. Reach out to your account team for access.",
)

if st.button(
Expand Down Expand Up @@ -703,7 +703,9 @@ def show() -> None:
return_home_button()
if "yaml" not in st.session_state:
# Only proceed to download the YAML from stage if we don't have one from the builder flow.
yaml = download_yaml(st.session_state.file_name, st.session_state.snowflake_stage.stage_name)
yaml = download_yaml(
st.session_state.file_name, st.session_state.snowflake_stage.stage_name
)
st.session_state["yaml"] = yaml
st.session_state["semantic_model"] = yaml_to_semantic_model(yaml)
if "last_saved_yaml" not in st.session_state:
Expand Down
4 changes: 2 additions & 2 deletions partner/looker.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ def set_looker_semantic() -> None:
sample_values = input_sample_value_num()

experimental_features = st.checkbox(
"Enable experimental features (optional)",
help="Checking this box will enable generation of experimental features in the semantic model. If enabling this setting, please ensure that you have the proper parameters set on your Snowflake account. Some features (e.g. joins) are currently in Private Preview and available only to select accounts. Reach out to your account team for access.",
"Enable joins (optional)",
help="Checking this box will enable you to add/edit join paths in your semantic model. If enabling this setting, please ensure that you have the proper parameters set on your Snowflake account. Reach out to your account team for access.",
)

if st.button("Continue", type="primary"):
Expand Down

0 comments on commit 219f196

Please sign in to comment.