From e16654b71955dc41976cfc8df902ee5105008f7c Mon Sep 17 00:00:00 2001 From: Taylor Wilsdon Date: Wed, 20 Aug 2025 16:46:21 -0400 Subject: [PATCH] fix typing --- gtasks/tasks_tools.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gtasks/tasks_tools.py b/gtasks/tasks_tools.py index 00f7b1e..a224dbf 100644 --- a/gtasks/tasks_tools.py +++ b/gtasks/tasks_tools.py @@ -45,8 +45,6 @@ async def list_task_lists( try: params = {} if max_results is not None: - if isinstance(max_results, str): - max_results = int(max_results) params["maxResults"] = max_results if page_token: params["pageToken"] = page_token @@ -309,8 +307,6 @@ async def list_tasks( try: params = {"tasklist": task_list_id} if max_results is not None: - if isinstance(max_results, str): - max_results = int(max_results) params["maxResults"] = max_results if page_token: params["pageToken"] = page_token