Skip to content

Commit ac2e712

Browse files
committed
remove reduntant
1 parent 5d61d3d commit ac2e712

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/snowflake/snowpark/modin/plugin/_internal/snowpark_pandas_types.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,6 @@ class TimedeltaType(SnowparkPandasType, LongType):
132132
def __init__(self) -> None:
133133
super().__init__()
134134

135-
def __eq__(self, other: Any) -> bool:
136-
def filtered(d: dict) -> dict:
137-
return {k: v for k, v in d.items() if k not in ("_precision", "_scale")}
138-
139-
return isinstance(other, self.__class__) and filtered(
140-
self.__dict__
141-
) == filtered(other.__dict__)
142-
143135
def __ne__(self, other: Any) -> bool:
144136
return not self.__eq__(other)
145137

0 commit comments

Comments
 (0)