code: def get_season_code_from_name(self, season_name) -> int:
          
          self.validator_season_name.validate(season_name, 'get_season_code_from_name')
          return self.seasons_enum[season_name]
docs: Args:
              season_name: season name
  
          Returns: season code