@memoize('missing_traffic', time=(60 * 10))
def get_missing_traffic(start, end):
 time_points = get_time_points('hour', start, end)
 q = Session.query(SitewidePageviews.date).filter((SitewidePageviews.interval == 'hour')).filter(SitewidePageviews.date.in_(time_points))
 found = [t for (t,) in q]
 return [t for t in time_points if (t not in found)]

@ memoize ( 'missing_traffic' , time = ( 60 * 10 ) ) def get_missing_traffic ( start , end ) : time_points = get_time_points ( 'hour' , start , end ) q = Session . query ( SitewidePageviews . date ) . filter ( ( SitewidePageviews . interval == 'hour' ) ) . filter ( SitewidePageviews . date . in_ ( time_points ) ) found = [ t for ( t , ) in q ] return [ t for t in time_points if ( t not in found ) ]
check for missing hourly traffic between start and end .