Skip to content

Commit

Permalink
Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jsummer committed Aug 26, 2024
1 parent f3fcbb5 commit 4cc6564
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions admin_apps/shared_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1225,9 +1225,7 @@ def integrate_partner_semantics() -> None:
integrate_col, commit_col, _ = st.columns((1, 1, 5), gap="small")
with integrate_col:
merge_button = st.button(
"Merge",
help=INTEGRATE_HELP,
use_container_width=True
"Merge", help=INTEGRATE_HELP, use_container_width=True
)
with commit_col:
reset_button = st.button(
Expand All @@ -1249,18 +1247,16 @@ def integrate_partner_semantics() -> None:
st.session_state["semantic_model"] = yaml_to_semantic_model(
st.session_state["yaml"]
)
merge_msg = st.success(
"Merging..."
)
merge_msg = st.success("Merging...")
time.sleep(1)
merge_msg.empty()
except Exception as e:
st.error(f"Integration failed: {e}")

if reset_button:
st.success(
"Integration complete! Please validate your semantic model before uploading."
)
"Integration complete! Please validate your semantic model before uploading."
)
time.sleep(1.5)
st.rerun() # Lazy alternative to resetting all configurations

Expand Down

0 comments on commit 4cc6564

Please sign in to comment.