(podcast_states)
return podcasts.values()
returns the podcasts corresponding to the podcast states
returns the podcasts corresponding to the podcast states
returns the podcasts corresponding to the podcast states
def podcasts_for_states(podcast_states):
    """returns the podcasts corresponding to the podcast states"""

    podcast_ids = [state.podcast for state in podcast_states]
    podcasts = Podcast.objects.filter(id__in=podcast_ids)
    podcasts = {podcast.id.hex: podcast for podcast in podcasts}
    return podcasts.values()
def podcasts_for_states ( podcast_states ) : podcast_ids = [ state . podcast for state in podcast_states ] podcasts = Podcast . objects . filter ( id__in = podcast_ids ) podcasts = { podcast . id . hex : podcast for podcast in podcasts } return podcasts . values ( )