fix: CI type errors and test compatibility

- type: ignore on each param line in sessions.py (pyright per-line)
- Remove ActionHandler assert in browser.py (breaks pre-existing tests)
- Ruff format
This commit is contained in:
ShawnPana
2026-04-01 21:39:51 -07:00
parent f9f56b8392
commit 080eeae62a
3 changed files with 6 additions and 6 deletions

View File

@@ -121,9 +121,7 @@ class BrowserWrapper:
Runs coroutines on the server's event loop using run_coroutine_threadsafe.
"""
def __init__(
self, session: 'BrowserSession', loop: asyncio.AbstractEventLoop, actions: 'ActionHandler'
) -> None:
def __init__(self, session: 'BrowserSession', loop: asyncio.AbstractEventLoop, actions: 'ActionHandler') -> None:
self._session = session
self._loop = loop
self._actions = actions