示例#1
0
 def _get_team_years_participated_cache_keys_and_controllers(
         cls, team_keys):
     cache_keys_and_controllers = []
     for team_key in filter(None, team_keys):
         cache_keys_and_controllers.append(
             (ApiTeamYearsParticipatedController.get_cache_key_from_format(
                 team_key.id()), ApiTeamYearsParticipatedController))
     return cache_keys_and_controllers
示例#2
0
 def _get_team_years_participated_cache_keys_and_controllers(cls, team_keys):
     cache_keys_and_controllers = []
     for team_key in filter(None, team_keys):
         cache_keys_and_controllers.append(
             (
                 ApiTeamYearsParticipatedController.get_cache_key_from_format(team_key.id()),
                 ApiTeamYearsParticipatedController,
             )
         )
     return cache_keys_and_controllers