From 3f23f18473a592e5e79c037c93bce859c1559e75 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Fri, 31 Jan 2025 00:48:27 +0200 Subject: [PATCH] style(TextHandler): fix re overload --- scrapling/core/custom_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapling/core/custom_types.py b/scrapling/core/custom_types.py index 03257c3..6e4ef50 100644 --- a/scrapling/core/custom_types.py +++ b/scrapling/core/custom_types.py @@ -131,10 +131,10 @@ class TextHandler(str): def re( self, regex: Union[str, Pattern[str]], + check_match: Literal[True], replace_entities: bool = True, clean_match: bool = False, case_sensitive: bool = False, - check_match: Literal[True] = True, ) -> bool: ...