from flask import Flask

from rest_app.api import init_api
from rest_app.ext import init_ext


def create_app():
    app = Flask(__name__)
    app.config["SQLALCHEMY_DATABASE_URI"] = "mysql+pymysql://root:930214@localhost:3306/mydb01?charset=utf8"
    app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
    init_ext(app)
    init_api(app)
    return app
a1eab48aca31933eb5ddba7d9a90d8b64484f31a
<mask token>

<mask token>


def create_app():
    app = Flask(__name__)
    app.config['SQLALCHEMY_DATABASE_URI'
        ] = 'mysql+pymysql://root:930214@localhost:3306/mydb01?charset=utf8'
    app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
    init_ext(app)
    init_api(app)
    return app

from flask import Flask
from rest_app.api import init_api
from rest_app.ext import init_ext


def create_app():
    app = Flask(__name__)
    app.config['SQLALCHEMY_DATABASE_URI'
        ] = 'mysql+pymysql://root:930214@localhost:3306/mydb01?charset=utf8'
    app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
    init_ext(app)
    init_api(app)
    return app

from flask import Flask

from rest_app.api import init_api
from rest_app.ext import init_ext


def create_app():
    app = Flask(__name__)
    app.config["SQLALCHEMY_DATABASE_URI"] = "mysql+pymysql://root:930214@localhost:3306/mydb01?charset=utf8"
    app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
    init_ext(app)
    init_api(app)
    return app