getCallerFrame

lsst.pex.config.callStack.getCallerFrame(relative=0)

Get the frame for the user’s caller.

Parameters:
relative : int, optional

Number of frames (0 or more) above the caller to retrieve. Default is 0.

Returns:
frame : __builtin__.Frame

Frame for the caller.

Notes

This function is excluded from the frame.