def get_caller_info(frame_index: int = 2) -> CallerInfo: """ Calls the `snappiershot.inspection.CallerInfo.from_call_stack` method. This simulates the expected call stack during normal snappiershot runtime. Returns: The resultant CallerInfo object. """ return CallerInfo.from_call_stack(frame_index)
def inner(): """ Inner function definition. """ CallerInfo.from_call_stack(1)