update dataframe on pipeline run
This commit is contained in:
@@ -15,6 +15,11 @@ from constants import USER_LIST
|
||||
|
||||
(REDIRECT_URI, create_batch_url, doczy_pipeline) = util.load_page_details(1)
|
||||
|
||||
def update_dataframe():
|
||||
new_df = pd.DataFrame(columns=['Contract Name', 'Unique Key','Pricing Before Carveouts'
|
||||
, 'Contract Related', 'Provider', 'Timeline', 'Carveout Indicator', 'Carveout Methodology'])
|
||||
st.session_state['dataframe'] = new_df
|
||||
|
||||
user_list = USER_LIST
|
||||
st.set_page_config(layout = "wide")
|
||||
# Sidebar contents
|
||||
@@ -272,7 +277,7 @@ with buttons[1]:
|
||||
st.write("Success")
|
||||
#Updates and Reruns the Code after everything on the interface has completed
|
||||
update_dataframe()
|
||||
st.experimental_rerun()
|
||||
st.rerun()
|
||||
# st.write(myobj)
|
||||
else:
|
||||
st.write("Failed")
|
||||
|
||||
Reference in New Issue
Block a user