Skip to content

Commit

Permalink
refactor: added type ignore for no checking mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
SepehrBazyar committed Aug 27, 2022
1 parent 0663fb3 commit 5d5cfab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ormar/relations/relation_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def related_field_name(self) -> str:

return self._related_field_name

def __getitem__(self, key: Union[int, slice]) -> "QuerysetProxy[T]":
def __getitem__(self, key: Union[int, slice]) -> "T": # type: ignore
"""
You can slice the results to desired number of parent models.
Expand Down

0 comments on commit 5d5cfab

Please sign in to comment.