def _meta_links(req, count):
 meta = {config.QUERY_PAGE: req.page, config.QUERY_MAX_RESULTS: req.max_results}
 if (config.OPTIMIZE_PAGINATION_FOR_SPEED is False):
  meta['total'] = count
 return meta

def _meta_links ( req , count ) : meta = { config . QUERY_PAGE : req . page , config . QUERY_MAX_RESULTS : req . max_results } if ( config . OPTIMIZE_PAGINATION_FOR_SPEED is False ) : meta [ 'total' ] = count return meta
reterns the meta links for a paginated query .