@region.cache_on_arguments(expiration_time=REFINER_EXPIRATION_TIME)
def get_series_episode(series_id, season, episode):
 result = tvdb_client.query_series_episodes(series_id, aired_season=season, aired_episode=episode)
 if result:
  return tvdb_client.get_episode(result['data'][0]['id'])

@ region . cache_on_arguments ( expiration_time = REFINER_EXPIRATION_TIME ) def get_series_episode ( series_id , season , episode ) : result = tvdb_client . query_series_episodes ( series_id , aired_season = season , aired_episode = episode ) if result : return tvdb_client . get_episode ( result [ 'data' ] [ 0 ] [ 'id' ] )
get an episode of a series .