client name from DB

This commit is contained in:
Mayank Aamseek
2024-04-09 15:23:30 +05:30
parent e42dc24a85
commit ea6aef8724
+2 -1
View File
@@ -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")