22
33
44class Series (object ):
5- __slots__ = (' series_id' , ' title' , ' release_date' , ' series_info' )
5+ __slots__ = (" series_id" , " title" , " release_date" , " series_info" )
66
77 def __init__ (self , series_id , title , release_date , series_info ):
88 self .series_id = series_id
@@ -12,7 +12,7 @@ def __init__(self, series_id, title, release_date, series_info):
1212
1313
1414class Season (object ):
15- __slots__ = (' series_id' , ' season_id' , ' title' , ' first_aired' , ' last_aired' )
15+ __slots__ = (" series_id" , " season_id" , " title" , " first_aired" , " last_aired" )
1616
1717 def __init__ (self , series_id , season_id , title , first_aired , last_aired ):
1818 self .series_id = series_id
@@ -23,7 +23,7 @@ def __init__(self, series_id, season_id, title, first_aired, last_aired):
2323
2424
2525class Episode (object ):
26- __slots__ = (' series_id' , ' season_id' , ' episode_id' , ' title' , ' air_date' )
26+ __slots__ = (" series_id" , " season_id" , " episode_id" , " title" , " air_date" )
2727
2828 def __init__ (self , series_id , season_id , episode_id , title , air_date ):
2929 self .series_id = series_id
@@ -35,12 +35,20 @@ def __init__(self, series_id, season_id, episode_id, title, air_date):
3535
3636def get_series_data ():
3737 return [
38- Series (1 , "IT Crowd" , "2006-02-03" ,
39- "The IT Crowd is a British sitcom produced by Channel 4, written by Graham Linehan, produced by "
40- "Ash Atalla and starring Chris O'Dowd, Richard Ayoade, Katherine Parkinson, and Matt Berry." ),
41- Series (2 , "Silicon Valley" , "2014-04-06" ,
42- "Silicon Valley is an American comedy television series created by Mike Judge, John Altschuler and "
43- "Dave Krinsky. The series focuses on five young men who founded a startup company in Silicon Valley." )
38+ Series (
39+ 1 ,
40+ "IT Crowd" ,
41+ "2006-02-03" ,
42+ "The IT Crowd is a British sitcom produced by Channel 4, written by Graham Linehan, produced by "
43+ "Ash Atalla and starring Chris O'Dowd, Richard Ayoade, Katherine Parkinson, and Matt Berry." ,
44+ ),
45+ Series (
46+ 2 ,
47+ "Silicon Valley" ,
48+ "2014-04-06" ,
49+ "Silicon Valley is an American comedy television series created by Mike Judge, John Altschuler and "
50+ "Dave Krinsky. The series focuses on five young men who founded a startup company in Silicon Valley." ,
51+ ),
4452 ]
4553
4654
@@ -54,7 +62,7 @@ def get_seasons_data():
5462 Season (2 , 2 , "Season 2" , "2015-04-12" , "2015-06-14" ),
5563 Season (2 , 3 , "Season 3" , "2016-04-24" , "2016-06-26" ),
5664 Season (2 , 4 , "Season 4" , "2017-04-23" , "2017-06-25" ),
57- Season (2 , 5 , "Season 5" , "2018-03-25" , "2018-05-13" )
65+ Season (2 , 5 , "Season 5" , "2018-03-25" , "2018-05-13" ),
5866 ]
5967
6068
0 commit comments