def _extractCallingMethodArgs():
 import inspect
 import copy
 callingFrame = inspect.stack()[1][0]
 (argNames, _, _, frameLocalVarDict) = inspect.getargvalues(callingFrame)
 argNames.remove('self')
 args = copy.copy(frameLocalVarDict)
 for varName in frameLocalVarDict:
  if (varName not in argNames):
   args.pop(varName)
 return args

def _extractCallingMethodArgs ( ) : import inspect import copy callingFrame = inspect . stack ( ) [ 1 ] [ 0 ] ( argNames , _ , _ , frameLocalVarDict ) = inspect . getargvalues ( callingFrame ) argNames . remove ( 'self' ) args = copy . copy ( frameLocalVarDict ) for varName in frameLocalVarDict : if ( varName not in argNames ) : args . pop ( varName ) return args
returns args dictionary from the calling method .