Skip to content

Commit

Permalink
removed load_data function
Browse files Browse the repository at this point in the history
  • Loading branch information
npalchur committed Mar 28, 2024
1 parent b983bad commit 2da8929
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions dashboard/src/t5gweb/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,6 @@ def prepare_flask_request(request):
}


def load_data():
"""Load data for dashboard"""

cfg = set_cfg()
load_data.new_cases = get_new_cases()
plot_data = plots()
load_data.y = list(plot_data.values())
load_data.accounts = get_new_comments()
load_data.accounts_all = get_new_comments(new_comments_only=False)
load_data.trending_cards = get_trending_cards()
load_data.now = redis_get("timestamp")
load_data.jira_server = cfg["server"]


@BP.route("/", methods=["GET", "POST"])
def login():
"""Handles redirects back and forth from SAML Provider and user creation in Redis"""
Expand Down

0 comments on commit 2da8929

Please sign in to comment.