Skip to content

Commit

Permalink
Revert: a run can have many contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaclarke committed Apr 27, 2021
1 parent 677223a commit 82b7e7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conbench/entities/_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import uuid

import flask as f
from sqlalchemy import Column, distinct, func
from sqlalchemy import Column, distinct
from sqlalchemy.orm import declarative_base
from sqlalchemy.orm.exc import NoResultFound

Expand All @@ -28,7 +28,7 @@ def __repr__(self):

@classmethod
def distinct(cls, column, filters):
q = Session.query(func.count(distinct(column)))
q = Session.query(distinct(column))
return q.filter(*filters).all()

@classmethod
Expand Down

0 comments on commit 82b7e7e

Please sign in to comment.