Skip to content

Commit ecad4d1

Browse files
committed
Check tests: update run_check return type to List[Row].
1 parent 6af9d96 commit ecad4d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_initializer(self):
9494
),
9595
)
9696

97-
def run_check(self, check: Check, columns: Union[str, List[str]] = "constraint_status") -> list[Row]:
97+
def run_check(self, check: Check, columns: Union[str, List[str]] = "constraint_status") -> List[Row]:
9898
columns = [columns] if isinstance(columns, str) else columns
9999
result = VerificationSuite(self.spark).onData(self.df).addCheck(check).run()
100100
df = VerificationResult.checkResultsAsDataFrame(self.spark, result)

0 commit comments

Comments
 (0)