def get_page_size_args():
 page_sizes = {}
 for arg in request.args:
  re_match = re.findall('psize_(.*)', arg)
  if re_match:
   page_sizes[re_match[0]] = int(request.args.get(arg))
 return page_sizes

def get_page_size_args ( ) : page_sizes = { } for arg in request . args : re_match = re . findall ( 'psize_(.*)' , arg ) if re_match : page_sizes [ re_match [ 0 ] ] = int ( request . args . get ( arg ) ) return page_sizes
get page size arguments .