mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-10-05 06:11:06 +01:00
ignore regex syntax warning
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user