feat: adds report for blocks today
This commit is contained in:
parent
d84d74ae0f
commit
64c6414fb8
3 changed files with 50 additions and 1 deletions
|
@ -16,6 +16,7 @@ from app.extensions import migrate
|
|||
from app.extensions import bootstrap
|
||||
from app.models.automation import Automation, AutomationState
|
||||
from app.portal import portal
|
||||
from app.portal.report import report
|
||||
from app.tfstate import tfstate
|
||||
|
||||
app = Flask(__name__)
|
||||
|
@ -31,7 +32,7 @@ bootstrap.init_app(app)
|
|||
|
||||
app.register_blueprint(portal, url_prefix="/portal")
|
||||
app.register_blueprint(tfstate, url_prefix="/tfstate")
|
||||
|
||||
app.register_blueprint(report, url_prefix="/report")
|
||||
|
||||
def not_migrating() -> bool:
|
||||
return len(sys.argv) < 2 or sys.argv[1] != "db"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue