def _get_param(param, param_dict, default=None):
 result = param_dict.get(param, default)
 if ((param in ['max-keys']) and result):
  return long(result)
 return result

def _get_param ( param , param_dict , default = None ) : result = param_dict . get ( param , default ) if ( ( param in [ 'max-keys' ] ) and result ) : return long ( result ) return result
gets a parameter value from request query parameters .