add pereodic func

This commit is contained in:
2024-05-31 22:12:59 +03:00
parent 85d6145df2
commit c4def899c7
6 changed files with 180 additions and 2 deletions

6
app.py
View File

@@ -1,7 +1,7 @@
from flask import Flask, render_template, request, redirect, url_for
from flask_migrate import Migrate
from models import db, Data
from threading import Timer
app = Flask(__name__)
@@ -15,6 +15,10 @@ db.init_app(app)
migrate = Migrate(app, db)
def calculateAverageper():
pass
def createDb():
with app.app_context():
db.create_all()