@@ -26,7 +26,7 @@ def get_id_current_series(db: str) -> int:
2626 cursor .close ()
2727 connection .close ()
2828
29- return ( current_series_id )
29+ return current_series_id
3030
3131
3232def get_info_series (db : str , series_id : int ) -> Dict [str , Any ]:
@@ -68,7 +68,7 @@ def get_info_series(db: str, series_id: int) -> Dict[str, Any]:
6868 cursor .close ()
6969 connection .close ()
7070
71- return ( dict (results ) )
71+ return dict (results )
7272
7373
7474def get_info_schedules (db : str , series_id : int ) -> List [Dict [str , Any ]]:
@@ -111,7 +111,7 @@ def get_info_schedules(db: str, series_id: int) -> List[Dict[str, Any]]:
111111 cursor .close ()
112112 connection .close ()
113113
114- return ( result )
114+ return result
115115
116116
117117def get_info_series_ids (db : str ) -> List [Dict [str , Any ]]:
@@ -142,7 +142,7 @@ def get_info_series_ids(db: str) -> List[Dict[str, Any]]:
142142 # Convert each row into a dictionary using zip
143143 result = [dict (zip (columns , row )) for row in rows ]
144144
145- return ( result )
145+ return result
146146
147147
148148def get_info_serieses (db : str ) -> List [Dict [str , Any ]]:
@@ -177,7 +177,7 @@ def get_info_serieses(db: str) -> List[Dict[str, Any]]:
177177 # Convert each row into a dictionary using zip
178178 result = [dict (zip (columns , row )) for row in rows ]
179179
180- return ( result )
180+ return result
181181
182182
183183def get_info_film (db : str , film_id : int ) -> Dict [str , Any ]:
@@ -208,4 +208,4 @@ def get_info_film(db: str, film_id: int) -> Dict[str, Any]:
208208 # Convert row into a dictionary
209209 result = dict (row )
210210
211- return ( result )
211+ return result
0 commit comments