Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

remove type ignore for websockets attribute

Wyatt Avillaf39cb312a2fc
diff --git a/examples/integrations/agentmail/email_tools.py b/examples/integrations/agentmail/email_tools.py
index b7e0acb60..438525c6c 100644
--- a/examples/integrations/agentmail/email_tools.py
+++ b/examples/integrations/agentmail/email_tools.py
@@ -99,7 +99,7 @@ class EmailTools(Tools):
"""
Wait for a message to be received in the inbox
"""
- async with self.email_client.websockets.connect() as ws: # type: ignore[attr-defined]
+ async with self.email_client.websockets.connect() as ws:
await ws.send_subscribe(message=Subscribe(inbox_ids=[inbox_id]))
try: