def update_success(psql_db, file_id, export_event_id):
    try:
        psql_db.execute("\n            update file_export set\n              when_transferred = now(),\n              transfer_status = 'success'\n            where export_event_id = %s\n              and file_id = %s\n        ", [export_event_id, file_id])
    except Exception as e:
        print(e)
def update_success(psql_db, file_id, export_event_id):
    try:
        psql_db.execute("\n            update file_export set\n              when_transferred = now(),\n              transfer_status = 'success'\n            where export_event_id = %s\n              and file_id = %s\n        ", [export_event_id, file_id])
    except Exception as e:
        print(e)