From ea6aef87240bdc00aee701630c7d088a64022567 Mon Sep 17 00:00:00 2001 From: Mayank Aamseek Date: Tue, 9 Apr 2024 15:23:30 +0530 Subject: [PATCH] client name from DB --- streamlit/interface_0.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/streamlit/interface_0.py b/streamlit/interface_0.py index 5fba792..99d22d8 100644 --- a/streamlit/interface_0.py +++ b/streamlit/interface_0.py @@ -108,7 +108,8 @@ if user_mail in user_list: batch_id+'/'+landing_zone+'/'+str(uploaded_file.name)) # TODO: Test this insert function with snowflake - insert_upload_logs(batch_id, client, str(uploaded_file.name), datetime.now().strftime("%Y-%m-%d %H:%M:%S"), user_mail) + upload_log = insert_upload_logs(batch_id, client, str(uploaded_file.name), datetime.now().strftime("%Y-%m-%d %H:%M:%S"), user_mail) + st.write(upload_log) file_names.append(str(uploaded_file.name)) st.write(f"{batch_id} created")