mirror of
https://github.com/browser-use/browser-use
synced 2026-05-13 17:56:35 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user