mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 14:54:24 +01:00
fix: make progress_token check E711 compat
This commit is contained in:
@@ -599,7 +599,7 @@ class Context(BaseModel):
|
|||||||
else None
|
else None
|
||||||
)
|
)
|
||||||
|
|
||||||
if progress_token == None:
|
if progress_token is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
await self.request_context.session.send_progress_notification(
|
await self.request_context.session.send_progress_notification(
|
||||||
|
|||||||
Reference in New Issue
Block a user