()
| 32 | |
| 33 | |
| 34 | def _get_ipython() -> t.Optional[InteractiveShell]: |
| 35 | try: |
| 36 | return get_ipython() # type: ignore |
| 37 | except NameError: |
| 38 | from IPython import get_ipython |
| 39 | |
| 40 | return get_ipython() |
| 41 | |
| 42 | |
| 43 | def is_zqm_interactive_shell() -> bool: |
no outgoing calls
no test coverage detected