You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the first sequence-task in a task sequence is a class, subsequent sequence-tasks never run.
First, I created a sequence with 3 sequence-task methods, and that worked fine. Next, I moved the first 2 steps into a nested class. Those 2 steps ran, but the remaining step in the outer sequence class did not.
If this is something I'm doing wrong, I can't figure it out, so if this is my misunderstanding, maybe we can have something in the docs to help clarify.
When I run this, I only get output for /api/v1/info/, /api/v1/private/login/, and /api/v1/private/logout/ . When I run this with all 3 sequence task methods in the outer class, numbered 1 through 3, then I also get requests to /api/v1/private/tasks/?… as expected.
The text was updated successfully, but these errors were encountered:
I found the answer myself by reading the source code. I have to call self.interrupt() at the end of the last task in the nested sequence so it doesn't repeat.
Description of issue
When the first sequence-task in a task sequence is a class, subsequent sequence-tasks never run.
First, I created a sequence with 3 sequence-task methods, and that worked fine. Next, I moved the first 2 steps into a nested class. Those 2 steps ran, but the remaining step in the outer sequence class did not.
If this is something I'm doing wrong, I can't figure it out, so if this is my misunderstanding, maybe we can have something in the docs to help clarify.
Environment settings
Steps to reproduce (for bug reports)
When I run this, I only get output for /api/v1/info/, /api/v1/private/login/, and /api/v1/private/logout/ . When I run this with all 3 sequence task methods in the outer class, numbered 1 through 3, then I also get requests to /api/v1/private/tasks/?… as expected.
The text was updated successfully, but these errors were encountered: