Exemple #1
0
from app.hello import app

if __name__ == "__main__":
    app.run()
# json encoding
from vendor.json_encoder import AlchemyEncoder

from app.hello import app

app.json_encoder = AlchemyEncoder

app.run(host='0.0.0.0', debug=True)
Exemple #3
0
# json encoding
from vendor.json_encoder import AlchemyEncoder

from app.hello import app

app.json_encoder = AlchemyEncoder

app.run(host='0.0.0.0', debug=False)