We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 629ce1f commit 37d8696Copy full SHA for 37d8696
1 file changed
backend/app/crud.py
@@ -185,7 +185,11 @@ async def get_runs(
185
skip: int = 0,
186
limit: int = 100,
187
) -> List[models.Run]:
188
- query = select(models.Run).order_by(desc(models.Run.timestamp))
+ query = (
189
+ select(models.Run)
190
+ .join(models.BenchmarkResult)
191
+ .order_by(desc(models.Run.timestamp))
192
+ )
193
194
if commit_sha:
195
query = query.where(models.Run.commit_sha == commit_sha)
0 commit comments