File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 4
4
from ._operation_context import (
5
5
WorkflowRunOperationContext as WorkflowRunOperationContext ,
6
6
)
7
- from ._operation_context import (
8
- _TemporalCancelOperationContext as _TemporalCancelOperationContext ,
9
- )
10
- from ._operation_context import (
11
- _TemporalStartOperationContext as _TemporalStartOperationContext ,
12
- )
13
7
from ._operation_context import client as client
14
8
from ._operation_context import in_operation as in_operation
15
9
from ._operation_context import info as info
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ async def _handle_cancel_operation_task(
172
172
operation = request .operation ,
173
173
headers = headers ,
174
174
)
175
- temporalio .nexus ._TemporalCancelOperationContext (
175
+ temporalio .nexus ._operation_context . _TemporalCancelOperationContext (
176
176
info = lambda : Info (task_queue = self ._task_queue ),
177
177
nexus_context = ctx ,
178
178
client = self ._client ,
@@ -274,7 +274,7 @@ async def _start_operation(
274
274
],
275
275
callback_headers = dict (start_request .callback_header ),
276
276
)
277
- temporalio .nexus ._TemporalStartOperationContext (
277
+ temporalio .nexus ._operation_context . _TemporalStartOperationContext (
278
278
nexus_context = ctx ,
279
279
client = self ._client ,
280
280
info = lambda : Info (task_queue = self ._task_queue ),
You can’t perform that action at this time.
0 commit comments