File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -1054,9 +1054,7 @@ def from_failure(
1054
1054
# temporal.api.enums.v1.NexusHandlerErrorRetryBehavior retry_behavior = 2;
1055
1055
# }
1056
1056
# TODO(dan): core never sends this currently?
1057
- raise NotImplementedError (
1058
- "TODO: Nexus handler failure info not implemented"
1059
- )
1057
+ raise NotImplementedError ("Nexus handler failure info not implemented" )
1060
1058
elif failure .HasField ("nexus_operation_execution_failure_info" ):
1061
1059
# message NexusOperationFailureInfo {
1062
1060
# // The NexusOperationScheduled event ID.
Original file line number Diff line number Diff line change @@ -307,14 +307,14 @@ def __init__(
307
307
):
308
308
self .service = service
309
309
310
- # TODO: get rid of first parameter?
310
+ # TODO(dan) : get rid of first parameter?
311
311
@wraps (start_method )
312
312
async def start (
313
313
self , input : I , options : nexusrpc .handler .StartOperationOptions
314
314
) -> StartWorkflowOperationResult [O ]:
315
315
return await start_method (service , input , options )
316
316
317
- # TODO: get rid of first parameter?
317
+ # TODO(dan) : get rid of first parameter?
318
318
async def fetch_result (
319
319
self , token : str , options : nexusrpc .handler .FetchOperationResultOptions
320
320
) -> O :
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ async def run(self) -> None:
126
126
assert op , f"Failed to classify Nexus task: { task_python } "
127
127
print (f"🟢 _NexusWorker received '{ op } ' operation" )
128
128
129
- # TODO: Correct way to examine and classify task proto
129
+ # TODO(dan) : Correct way to examine and classify task proto
130
130
if task .HasField ("task" ):
131
131
if task .task .request .HasField ("start_operation" ):
132
132
await self ._handle_start_operation (
Original file line number Diff line number Diff line change @@ -642,7 +642,7 @@ class ServiceClassNameOutput:
642
642
name : str
643
643
644
644
645
- # TODO: test interface op types not matching
645
+ # TODO(dan) : test interface op types not matching
646
646
647
647
648
648
@nexusrpc .interface .service
You can’t perform that action at this time.
0 commit comments