Skip to content

Commit 92bc68e

Browse files
committed
refactor: remove unnecessary type ignore comments from rex_type and types methods
1 parent 0a27617 commit 92bc68e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/datafusion/expr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ def between(self, low: Any, high: Any, negated: bool = False) -> Expr:
648648

649649
return Expr(self.expr.between(low.expr, high.expr, negated=negated))
650650

651-
def rex_type(self) -> RexType: # type: ignore[call-arg]
651+
def rex_type(self) -> RexType:
652652
"""Return the Rex Type of this expression.
653653
654654
A Rex (Row Expression) specifies a single row of data.That specification
@@ -657,7 +657,7 @@ def rex_type(self) -> RexType: # type: ignore[call-arg]
657657
"""
658658
return self.expr.rex_type()
659659

660-
def types(self) -> DataTypeMap: # type: ignore[call-arg]
660+
def types(self) -> DataTypeMap:
661661
"""Return the ``DataTypeMap``.
662662
663663
Returns:

0 commit comments

Comments
 (0)