#DICKBOT-3 Done. Kool one!
This commit is contained in:
parent
c0800241dc
commit
d596fe9af7
10
exporto.py
10
exporto.py
@ -5,6 +5,11 @@ from sqlalchemy import select, update
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
from flask import Flask
|
||||||
|
|
||||||
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
|
||||||
engine = create_engine('postgresql+psycopg2://postgres:postgres@postgres.vdk2ch.ru:5432/jack_bot', echo=True)
|
engine = create_engine('postgresql+psycopg2://postgres:postgres@postgres.vdk2ch.ru:5432/jack_bot', echo=True)
|
||||||
Session = sessionmaker(bind=engine)
|
Session = sessionmaker(bind=engine)
|
||||||
|
|
||||||
@ -39,11 +44,6 @@ def get_top_dicks():
|
|||||||
return top
|
return top
|
||||||
|
|
||||||
|
|
||||||
from flask import Flask
|
|
||||||
|
|
||||||
app = Flask(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
@app.route('/metrics')
|
@app.route('/metrics')
|
||||||
def metrics():
|
def metrics():
|
||||||
metrics = ""
|
metrics = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user