SyntaxFix
Write A Post
Hire A Developer
Questions
Every Task object has a .request property, which contains it AsyncRequest object. Accordingly, the following line gives the state of a Task task:
Task
.request
AsyncRequest
task
task.AsyncResult(task.request.id).state