File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ async def fetch_result(
104
104
"Temporal Nexus operation handlers do not support fetching the operation result."
105
105
)
106
106
# An implementation is provided for future reference:
107
+ # TODO: honor `wait` param and Request-Timeout header
107
108
try :
108
109
nexus_handle = WorkflowHandle [OutputT ].from_token (token )
109
110
except Exception as err :
Original file line number Diff line number Diff line change @@ -341,6 +341,8 @@ async def _operation_error_to_proto(
341
341
self ,
342
342
err : nexusrpc .OperationError ,
343
343
) -> temporalio .api .nexus .v1 .UnsuccessfulOperationError :
344
+ # TODO(nexus-prerelease): why are we accessing __cause__ here for OperationError
345
+ # and not for HandlerError?
344
346
cause = err .__cause__
345
347
if cause is None :
346
348
cause = Exception (* err .args ).with_traceback (err .__traceback__ )
You can’t perform that action at this time.
0 commit comments