Get the call stack in a ipython, filtering out the ipython specific keys.
(end_functions=["<module>"], stack_index=0)
| 460 | return ipython_locals_filter(get_locals_from_call_stack(1+stack_index)) |
| 461 | |
| 462 | def stack_ipython(end_functions=["<module>"], stack_index=0): |
| 463 | """ Get the call stack in a ipython, filtering out the ipython specific keys. """ |
| 464 | call_stack = stack(end_functions,1+stack_index) |
| 465 | globals_frame = next(iter(call_stack)) |
| 466 | call_stack[globals_frame] = ipython_locals_filter(call_stack[globals_frame]) |
| 467 | return call_stack |
| 468 | |
| 469 | # ------------ google colab filtering |
| 470 |
nothing calls this directly
no test coverage detected