@@ -281,7 +281,7 @@ def get_activity_log_list(
281281
282282 def create_favorite_activity (
283283 self , activity_id : int , user_id : str = "-" , debug : bool = False
284- ) -> Dict [ Never , Never ] :
284+ ) -> None :
285285 """Adds an activity to the user's list of favorite activities.
286286
287287 Favorite activities appear in a special section of the Fitbit app and website,
@@ -295,7 +295,7 @@ def create_favorite_activity(
295295 debug: If True, prints a curl command to stdout to help with debugging (default: False)
296296
297297 Returns:
298- Dict[Never, Never]: Empty dictionary on success, with HTTP 201 status code
298+ None: Returns None on success, with HTTP 201 status code
299299
300300 Raises:
301301 fitbit_client.exceptions.InvalidRequestException: If activity_id is invalid
@@ -314,11 +314,11 @@ def create_favorite_activity(
314314 http_method = "POST" ,
315315 debug = debug ,
316316 )
317- return cast (Dict [ Never , Never ] , result )
317+ return cast (None , result )
318318
319319 def delete_activity_log (
320320 self , activity_log_id : int , user_id : str = "-" , debug : bool = False
321- ) -> Dict [ Never , Never ] :
321+ ) -> None :
322322 """Deletes a specific activity log entry from the user's activity history.
323323
324324 This endpoint permanently removes an activity from the user's activity history.
@@ -333,7 +333,7 @@ def delete_activity_log(
333333 debug: If True, prints a curl command to stdout to help with debugging (default: False)
334334
335335 Returns:
336- Dict[Never, Never]: Empty dictionary on success, with HTTP 204 status code
336+ None: Returns None on success, with HTTP 204 status code
337337
338338 Raises:
339339 fitbit_client.exceptions.InvalidRequestException: If activity_log_id is invalid
@@ -351,7 +351,7 @@ def delete_activity_log(
351351 result = self ._make_request (
352352 f"activities/{ activity_log_id } .json" , user_id = user_id , http_method = "DELETE" , debug = debug
353353 )
354- return cast (Dict [ Never , Never ] , result )
354+ return cast (None , result )
355355
356356 def delete_favorite_activity (
357357 self , activity_id : int , user_id : str = "-" , debug : bool = False
0 commit comments