Skip to content

Commit

Permalink
Stub for future downloads endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
vladsavelyev committed Feb 14, 2024
1 parent 9e5a7b0 commit e422327
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from plotly.graph_objs import Layout

from . import __version__, db, models
from .downloads import download_stats


def get_latest_release() -> models.LatestRelease:
Expand Down Expand Up @@ -63,8 +62,11 @@ async def downloads():
"""
MultiQC package downloads across difference sources, and when available,
different versions.
Fetch from the database which will be populated by the script in the
https://github.com/MultiQC/usage repo, run on a chron job.
"""
return download_stats()
return {}


@app.get("/version")
Expand Down

0 comments on commit e422327

Please sign in to comment.