We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf8e5d3 commit d20b8b3Copy full SHA for d20b8b3
1 file changed
diffly/_conditions.py
@@ -183,17 +183,14 @@ def _compare_columns(
183
def _compare_sequence_columns(
184
col_left: pl.Expr,
185
col_right: pl.Expr,
186
- dtype_left: DataType | DataTypeClass,
187
- dtype_right: DataType | DataTypeClass,
+ dtype_left: pl.List | pl.Array,
+ dtype_right: pl.List | pl.Array,
188
max_list_length: int | None,
189
abs_tol: float,
190
rel_tol: float,
191
abs_tol_temporal: dt.timedelta,
192
) -> pl.Expr:
193
"""Compare Array/List columns element-wise with tolerance."""
194
- assert isinstance(dtype_left, pl.List | pl.Array)
195
- assert isinstance(dtype_right, pl.List | pl.Array)
196
-
197
n_elements: int
198
has_same_length: pl.Expr
199
0 commit comments