def _extractCallingMethodArgs():
import inspect<EOL>import copy<EOL>callingFrame = inspect.stack()[<NUM_LIT:1>][<NUM_LIT:0>]<EOL>argNames, _, _, frameLocalVarDict = inspect.getargvalues(callingFrame)<EOL>argNames.remove("<STR_LIT>")<EOL>args = copy.copy(frameLocalVarDict)<EOL>for varName in frameLocalVarDict:<EOL><INDENT>if varName not in argNames:<EOL><INDENT>args.pop(varName)<EOL><DEDENT><DEDENT>return args<EOL>
Returns args dictionary from the calling method