Returns the shell context for an interactive shell for this application. This runs all the registered shell context processors. .. versionadded:: 0.11
(self)
| 532 | context.update(orig_ctx) |
| 533 | |
| 534 | def make_shell_context(self) -> dict[str, t.Any]: |
| 535 | """Returns the shell context for an interactive shell for this |
| 536 | application. This runs all the registered shell context |
| 537 | processors. |
| 538 | |
| 539 | .. versionadded:: 0.11 |
| 540 | """ |
| 541 | rv = {"app": self, "g": g} |
| 542 | for processor in self.shell_context_processors: |
| 543 | rv.update(processor()) |
| 544 | return rv |
| 545 | |
| 546 | def run( |
| 547 | self, |