Remove dead code and wire the two-worker smoke script
This commit is contained in:
@@ -24,7 +24,7 @@ from .artifacts import (
|
||||
OutputManifest,
|
||||
Provenance,
|
||||
)
|
||||
from .identity import ComponentRef, SDK_API_VERSION, SchemaRef
|
||||
from .identity import ComponentRef, SDK_API_VERSION
|
||||
from .execution import NetworkPolicy, ProcessModel
|
||||
from .manifest import TrustMode, WorkloadManifest
|
||||
from .plans import JobRequest, TaskSpec
|
||||
@@ -686,9 +686,6 @@ class CancellationFlag:
|
||||
def __init__(self) -> None:
|
||||
self._event = Event()
|
||||
|
||||
def cancel(self) -> None:
|
||||
self._event.set()
|
||||
|
||||
def cancelled(self) -> bool:
|
||||
return self._event.is_set()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user