def get_hot_items(srs, item_type, src):
 hot_srs = {sr._id: sr for sr in srs}
 hot_link_fullnames = normalized_hot([sr._id for sr in srs])
 hot_links = Link._by_fullname(hot_link_fullnames, return_dict=False)
 hot_items = []
 for l in hot_links:
  hot_items.append(ExploreItem(item_type, src, hot_srs[l.sr_id], l))
 return hot_items

def get_hot_items ( srs , item_type , src ) : hot_srs = { sr . _id : sr for sr in srs } hot_link_fullnames = normalized_hot ( [ sr . _id for sr in srs ] ) hot_links = Link . _by_fullname ( hot_link_fullnames , return_dict = False ) hot_items = [ ] for l in hot_links : hot_items . append ( ExploreItem ( item_type , src , hot_srs [ l . sr_id ] , l ) ) return hot_items
get hot links from specified srs .