fix: make progress_token check E711 compat
This commit is contained in:
parent
2dc5fbfa3d
commit
53bfac0cc2
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue