Skip to content

Commit 4385ef8

Browse files
YunchuWangCopilot
andcommitted
Resolve sandbox transport code quality comments
Replace no-op Protocol method ellipses with explicit NotImplementedError bodies so code quality analysis does not flag the declarations. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 50f5631 commit 4385ef8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • durabletask-azuremanaged/durabletask/azuremanaged/preview/on_demand_sandbox

durabletask-azuremanaged/durabletask/azuremanaged/preview/on_demand_sandbox/transport.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ class _OnDemandSandboxActivitiesStub(Protocol):
1919
def DeclareOnDemandSandboxActivities(
2020
self,
2121
request: pb.OnDemandSandboxActivityDeclaration) -> pb.OnDemandSandboxActivityDeclarationResult:
22-
...
22+
raise NotImplementedError
2323

2424
def RemoveOnDemandSandboxActivityDeclaration(
2525
self,
2626
request: pb.RemoveOnDemandSandboxActivityDeclarationRequest) -> pb.RemoveOnDemandSandboxActivityDeclarationResult:
27-
...
27+
raise NotImplementedError
2828

2929
def ConnectOnDemandSandboxActivityWorker(
3030
self,
3131
request_iterator: Iterable[pb.OnDemandSandboxActivityWorkerMessage]) -> pb.OnDemandSandboxActivityWorkerSessionResult:
32-
...
32+
raise NotImplementedError
3333

3434

3535
class OnDemandSandboxActivitiesGrpcTransport:

0 commit comments

Comments
 (0)