from flask import Flask, render_template, url_for, request from predictor_api import make_classification import sqlalchemy as db import pymysql from simple_salesforce import Salesforce application = Flask(__name__) application.debug=True application.Secret_access_key="###################################" application.Access_key_ID="#######################" # An example of routing: # If they go to the page "/" (this means a GET request # to go to the page httP://127.0.0.1:5000/) # GET method is the type of request your web browser will send the website # When it accesses the URL of the web page engine = db.create_engine('##############################################################################') connection = engine.connect() metadata = db.MetaData() sf = Salesforce(username='******', password='******', security_token='####################') '''def connectioned(): engine = db.create_engine('mysql+pymysql://team8user:gradhackteam8@hsbc-team8-data.ciavwhad0erl.us-east-2.rds.amazonaws.com:3306/hsbc_team8_data') connection = engine.connect() metadata = db.MetaData() ans = [engine,connection,metadata] return ans'''