def get_limit_and_marker(request):
 max_limit = _get_pagination_max_limit()
 limit = _get_limit_param(request, max_limit)
 if (max_limit > 0):
  limit = (min(max_limit, limit) or max_limit)
 if (not limit):
  return (None, None)
 marker = request.GET.get('marker', None)
 return (limit, marker)

def get_limit_and_marker ( request ) : max_limit = _get_pagination_max_limit ( ) limit = _get_limit_param ( request , max_limit ) if ( max_limit > 0 ) : limit = ( min ( max_limit , limit ) or max_limit ) if ( not limit ) : return ( None , None ) marker = request . GET . get ( 'marker' , None ) return ( limit , marker )
return marker .