Repository navigation
Conversation
Lets a caller assign an Action Center task to a single user and complete it, which resumes the job waiting on it. AssignTasks reports per-task failures in a 200 body, so assign raises OperationFailedException for them. Matches tasks.assign and tasks.complete in the TypeScript SDK.
|
Copilot stopped reviewing on behalf of
PG-Thomas due to an error
October 28, 2026 13:55
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Adds
assign/assign_asyncandcomplete/complete_asynctoTasksService. The TypeScript SDK already ships both astasks.assignandtasks.complete; this brings the same calls to Python.Today a Python agent that has to answer an Action Center task on someone's behalf (for example to resume a job after a review went unanswered) must call
AssignTasksandCompleteAppTaskby hand. Assigning exists only as a private helper used duringcreate.Same as the TypeScript SDK
assign/assign_asynctasks.assigncomplete/complete_asynctasks.complete_assign_by_user_spec: one ofuser_idoruser_name_or_emailTaskAssignOptions_COMPLETE_ENDPOINTSand_complete_spec: app, form, otherwise generic_raise_on_assignment_errorsprocessODataArrayResponseSame endpoints, same request bodies, same dispatch on task type.