From b9a17ba3e50aef1283c0e410d7686d9e0ffb08f5 Mon Sep 17 00:00:00 2001 From: Maximilian <39695405+maxispeicher@users.noreply.github.com> Date: Mon, 6 Nov 2023 16:56:05 +0100 Subject: [PATCH] Update container.py Signed-off-by: Maximilian Speicher --- pandera/api/pyspark/container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandera/api/pyspark/container.py b/pandera/api/pyspark/container.py index cef8675c9..880c1dd1b 100644 --- a/pandera/api/pyspark/container.py +++ b/pandera/api/pyspark/container.py @@ -327,7 +327,7 @@ def validate( [Row(product='Bread', price=9), Row(product='Butter', price=15)] """ if not CONFIG.validation_enabled: - return + return check_obj error_handler = ErrorHandler(lazy) return self._validate(