Beispiel #1
0
from app.hello import app

if __name__ == "__main__":
    app.run()
Beispiel #2
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=True)
Beispiel #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)