sdk-python
sdk-python copied to clipboard
Populate Request Deadline in Nexus Operation Contexts
Note: This PR can't be merged until the corresponding Core PR is merged and a new nexus-rpc/sdk-python version has been released.
What was changed
- Populate Nexus request deadline into operation contexts when present on the task received from Core.
Why?
Operation handlers should be informed of the deadline to process the start or cancel request before the task is canceled.
Checklist
- How was this tested:
Tests added confirming the presence of the deadline in StartOperationContext, CancelOperationContext and WorkflowRunOperationContext