From e42dc24a85f9ad63e746682a76f68bd332c1dbfc Mon Sep 17 00:00:00 2001 From: Mayank Aamseek Date: Tue, 9 Apr 2024 15:18:27 +0530 Subject: [PATCH] client name from DB --- streamlit/interface_0.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streamlit/interface_0.py b/streamlit/interface_0.py index 3209cb1..5fba792 100644 --- a/streamlit/interface_0.py +++ b/streamlit/interface_0.py @@ -70,7 +70,7 @@ if user_mail in user_list: client = client_s3_paths.get(client) # # to be deleted when buckets for different clients are ready; below line is added only for testing the corresponding DAG - # client = 'doczy-dev-infra-textract' + client = 'doczy-ai-client-1' file_row = st.columns([0.1, 0.8]) with file_row[0]: @@ -108,7 +108,7 @@ if user_mail in user_list: batch_id+'/'+landing_zone+'/'+str(uploaded_file.name)) # TODO: Test this insert function with snowflake - insert_upload_logs(client, batch_id, str(uploaded_file.name), user_mail) + insert_upload_logs(batch_id, client, str(uploaded_file.name), datetime.now().strftime("%Y-%m-%d %H:%M:%S"), user_mail) file_names.append(str(uploaded_file.name)) st.write(f"{batch_id} created")