Add progress notification callback for client (#721)

This commit is contained in:
ihrpr 2025-05-15 17:45:58 +01:00 • committed by GitHub
commit 5d33861cad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -963,7 +963,6 @@ class Context(BaseModel, Generic[ServerSessionT, LifespanContextT]):
total: Optional total value e.g. 100
message: Optional message e.g. Starting render...
"""
progress_token = (
self.request_context.meta.progressToken
if self.request_context.meta