Skip to content

Commit

Permalink
fix: add_download_task param typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentame committed Nov 3, 2024
1 parent 97427f9 commit f75f44b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/freebox_api/api/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ async def get_download_log(self, download_id: int) -> Dict[str, Any]:
return await self._access.get(f"downloads/{download_id}/log/") # type: ignore

async def add_download_task(
self, download_params: Union[DownloadAddURL, DownloadAddFile]
self,
download_params: Union[DownloadAddURL, DownloadAddURLList, DownloadAddFile],
) -> Dict[str, Any]:
"""
Add download from params
Expand Down

0 comments on commit f75f44b

Please sign in to comment.