Remove unused type ignore

This commit is contained in:
Peter Landry 2023-07-26 13:37:39 +02:00 committed by Anton De Meester
parent 39efab835d
commit 5942527886

View File

@ -67,7 +67,7 @@ class Result(_Result[Tuple[_T]], Generic[_T]):
return super().one_or_none() # type: ignore
def scalar_one(self) -> _T:
return super().scalar_one() # type: ignore
return super().scalar_one()
def scalar_one_or_none(self) -> Optional[_T]:
return super().scalar_one_or_none()
@ -76,4 +76,4 @@ class Result(_Result[Tuple[_T]], Generic[_T]):
return super().one() # type: ignore
def scalar(self) -> Optional[_T]:
return super().scalar() # type: ignore
return super().scalar()