From 4ab01abbf0de4ffcf5446c318dbc53595ab0b467 Mon Sep 17 00:00:00 2001 From: ThePhaseless Date: Sat, 16 Aug 2025 22:49:24 +0000 Subject: [PATCH] ignore regex syntax warning --- src/endpoints.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/endpoints.py b/src/endpoints.py index c1d6d5f..3cfb8a0 100644 --- a/src/endpoints.py +++ b/src/endpoints.py @@ -1,4 +1,5 @@ import time +import warnings from http import HTTPStatus from typing import Annotated @@ -15,6 +16,9 @@ from src.models import ( ) from src.utils import get_sb, logger, save_screenshot +warnings.filterwarnings("ignore", category=SyntaxWarning) + + router = APIRouter() SeleniumDep = Annotated[BaseCase, Depends(get_sb)]