| 287 | |
| 288 | print("Example 19") |
| 289 | class MyWorkflow(Workflow): |
| 290 | @step |
| 291 | def start_engine(self): |
| 292 | print("Engine is on!") |
| 293 | |
| 294 | def my_helper_function(self): |
| 295 | raise RuntimeError("Should not be called") |
| 296 | |
| 297 | @step |
| 298 | def release_brake(self): |
| 299 | print("Brake is off!") |
| 300 | |
| 301 | |
| 302 | print("Example 20") |