From ddb26fb138f76609e61b16fc7dd2f7c25c4e1d39 Mon Sep 17 00:00:00 2001 From: Alexander Goscinski Date: Tue, 1 Jul 2025 09:57:56 +0200 Subject: [PATCH] pass arg from add_check --- src/scwidgets/check/_widget_check_registry.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scwidgets/check/_widget_check_registry.py b/src/scwidgets/check/_widget_check_registry.py index 9e0212c..9294e03 100644 --- a/src/scwidgets/check/_widget_check_registry.py +++ b/src/scwidgets/check/_widget_check_registry.py @@ -234,6 +234,7 @@ def add_check( Callable[[Check.FunOutParamsT], Check.FingerprintT] ] = None, suppress_fingerprint_asserts: bool = True, + stop_on_assert_error_raised: bool = False, ): """ Adds a new check for the specified widget. The check is defined using assert @@ -265,6 +266,7 @@ def add_check( outputs_references, fingerprint, suppress_fingerprint_asserts, + stop_on_assert_error_raised, ) self._checks[widget].append(check)