We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 853889c commit a90f6d4Copy full SHA for a90f6d4
temporalio/worker/_tuning.py
@@ -170,8 +170,8 @@ class SlotReleaseContext:
170
Custom slot suppliers are currently experimental.
171
"""
172
173
- slot_info: SlotInfo
174
- """Info about the task that will be using the slot."""
+ slot_info: Optional[SlotInfo]
+ """Info about the task that will be using the slot. May be None if the slot was never used."""
175
permit: SlotPermit
176
"""The permit that was issued when the slot was reserved."""
177
0 commit comments