<commit_before>module Tmdb
  module Tv
    class Season < Struct
    end
  end
end<commit_msg>Partial season implementation<commit_after>module Tmdb
  module Tv
    class Season < Struct

      def self.detail(id, season_number, filters={})
        result = Resource.new("/tv/#{id}/season/#{season_number}", filters).get
        season = self.new(result)
        
        season.convert_episodes_references!

        season
      end

      private

      def convert_episodes_references!
        episodes.each do |episode|
          episode.crew.map! do |person|
            Person.new(person.to_h)
          end
        end
      end
      
    end
  end
end
{'fraction_non_alphanumeric': 0.0803030303030303, 'fraction_numerical': 0.0, 'mean_word_length': 2.032110091743119, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3998789', 'n_tokens_mistral': 201, 'n_tokens_neox': 198, 'n_words': 46}