Skip to content

Commit 53bfac0

Browse files
committed
fix: make progress_token check E711 compat
1 parent 2dc5fbf commit 53bfac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/mcp/server/fastmcp/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ async def report_progress(
599599
else None
600600
)
601601

602-
if progress_token == None:
602+
if progress_token is None:
603603
return
604604

605605
await self.request_context.session.send_progress_notification(

0 commit comments

Comments
 (0)