def get_failed_downloads(start_date, end_date): """Get the failed downloads between start_date and end_date.""" gw = SystemGateway() downloads = [] for shard_id in get_shard_ids(): downloads.extend(list(gw.get_failed_downloads( shard_id, start_date, end_date))) return downloads
def get_failed_downloads(start_date, end_date): """Get the failed downloads between start_date and end_date.""" gw = SystemGateway() downloads = [] for shard_id in get_shard_ids(): downloads.extend( list(gw.get_failed_downloads(shard_id, start_date, end_date))) return downloads
def get_failed_downloads(start_date, end_date): """Get the failed downloads between start_date and end_date.""" gw = SystemGateway() return gw.get_failed_downloads(start_date, end_date)