Skip to content

Commit

Permalink
chore: add return type for __hash__ function of QueryLike (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
masinag committed Jul 23, 2022
1 parent 5694479 commit fcb1a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinydb/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class QueryLike(Protocol):
"""
def __call__(self, value: Mapping) -> bool: ...

def __hash__(self): ...
def __hash__(self) -> int: ...


class QueryInstance:
Expand Down

0 comments on commit fcb1a86

Please sign in to comment.