from flask import Flask

from api_client import create_api_client
from common.oauth_client import create_oauth_client
from config_client import create_config_client
from slack_client import create_slack_client

app = Flask(__name__)

if __name__ == "__main__":
    app.debug = True

create_config_client(app)
create_slack_client(app)
create_oauth_client(app, "eecs-slackbot")
create_api_client(app)

if __name__ == "__main__":
    app.run(debug=True)

from flask import Flask

from api_client import create_api_client
from common.oauth_client import create_oauth_client
from config_client import create_config_client
from slack_client import create_slack_client

app = Flask(__name__)

if __name__ == "__main__":
    app.debug = True

create_config_client(app)
create_slack_client(app)
create_oauth_client(app, "eecs-slackbot")
create_api_client(app)

if __name__ == "__main__":
    app.run(debug=True)
