getStackFrame

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

Get the StackFrame for the user’s caller.

Parameters
relativeint, optional

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

Returns
frameStackFrame

Stack frame for the caller.