code: def get_episode_types(db) -> Iterator[EpisodeType]:
      
      cur = db.cursor()
      cur.execute('SELECT id, name, prefix FROM episode_type')
      for type_id, name, prefix in cur:
          yield EpisodeType(type_id, name, prefix)
docs: Get all episode types.