def get_obj(f, argfile=None, argstr=None, args=(), kwargs=None):
 if (kwargs is None):
  kwargs = {}
 if (argfile is not None):
  argstr = open(argfile).read()
 if (argstr is not None):
  argd = pickle.loads(argstr)
 else:
  argd = {}
 args = (args + argd.get('args', ()))
 kwargs.update(argd.get('kwargs', {}))
 return json_call(f, args=args, kwargs=kwargs)

def get_obj ( f , argfile = None , argstr = None , args = ( ) , kwargs = None ) : if ( kwargs is None ) : kwargs = { } if ( argfile is not None ) : argstr = open ( argfile ) . read ( ) if ( argstr is not None ) : argd = pickle . loads ( argstr ) else : argd = { } args = ( args + argd . get ( 'args' , ( ) ) ) kwargs . update ( argd . get ( 'kwargs' , { } ) ) return json_call ( f , args = args , kwargs = kwargs )
xxx: document me .