Skip to content

Commit

Permalink
πŸ› Fix record.filter
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Sep 9, 2024
1 parent c0d130b commit 88a824d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lnschema_core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,10 +589,11 @@ def lookup(
"""
pass

def filter(cls, **expressions) -> QuerySet:
def filter(cls, *queries, **expressions) -> QuerySet:
"""Query records.
Args:
queries: One or multiple `Q` objects.
expressions: Fields and values passed as Django query expressions.
Returns:
Expand Down

0 comments on commit 88a824d

Please sign in to comment.