fix: make progress_token check E711 compat

This commit is contained in:
David Soria Parra 2025-01-29 10:01:56 +00:00
commit 53bfac0cc2
No known key found for this signature in database

View file

@ -599,7 +599,7 @@ class Context(BaseModel):
else None
)
if progress_token == None:
if progress_token is None:
return
await self.request_context.session.send_progress_notification(