comparison myrss2/myrss_flask.py @ 132:99e4022eae52

pics3: add Dockerfile and requirements.pip
author paulo
date Thu, 20 Jan 2022 01:28:46 -0800
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:6570192f4324
1 from flask import Flask
2
3 import myrss_app
4
5
6 flask_app = Flask(__name__)
7 my_app = myrss_app.MyRssApp()
8
9
10 @flask_app.route("/")
11 def index():
12 return my_app.call()