Skip to content

Commit 8fdbb46

Browse files
committed
[QUICK-FIX] - Missed a spot! operations_coordinator.py is ready to join beta (or not). :)
1 parent 86e4c9d commit 8fdbb46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

operations_coordinator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ class ExecutionRecord:
4040
JSON history export.
4141
"""
4242
token_id: str
43-
operation_type: str
4443
method_name: str
4544
success: bool
4645
execution_time: float
4746
timestamp: float
4847
core_id: int
4948
worker_id: str
49+
operation_type: Optional[str] = None
5050
complexity_score: Optional[float] = None
5151

5252
def to_dict(self) -> dict:
@@ -488,7 +488,7 @@ def resume_operation(self, operation_type: str, reason: str = "admin_per-token_r
488488
_coordinator_lock = threading.Lock()
489489

490490

491-
def get_global_coordinator() -> OperationsCoordinator:
491+
def get_global_coordinator() -> OperationsCoordinator | None:
492492
"""Return the process-global coordinator, creating and starting it if needed.
493493
494494
This function exists primarily to support decorator-driven submission paths

0 commit comments

Comments
 (0)