Update google tasks to return completed items (#122437)

This commit is contained in:
Allen Porter
2024-07-23 00:31:22 -07:00
committed by GitHub
parent 4674502b92
commit be4c7291bd

View File

@@ -68,7 +68,10 @@ class AsyncConfigEntryAuth:
"""Get all Task resources for the task list."""
service = await self._get_service()
cmd: HttpRequest = service.tasks().list(
tasklist=task_list_id, maxResults=MAX_TASK_RESULTS
tasklist=task_list_id,
maxResults=MAX_TASK_RESULTS,
showCompleted=True,
showHidden=True,
)
result = await self._execute(cmd)
return result["items"]