Adds a runner to the script. Args: runner_str (str): A string constructing the runner. For example, this may be generated by ``make_invocable``.
(self, runner_str)
| 346 | return Script.String("runners", safe=True, inline=True) |
| 347 | |
| 348 | def add_runner(self, runner_str): |
| 349 | """ |
| 350 | Adds a runner to the script. |
| 351 | |
| 352 | Args: |
| 353 | runner_str (str): |
| 354 | A string constructing the runner. |
| 355 | For example, this may be generated by ``make_invocable``. |
| 356 | """ |
| 357 | runner_str = ensure_safe(runner_str).unwrap() |
| 358 | self.runners.append(runner_str) |
| 359 | |
| 360 | def append_preimport(self, line): |
| 361 | """ |
no test coverage detected