From dbd6afe61b5d41a9236df87fc611269936c434ac Mon Sep 17 00:00:00 2001 From: Quentin POLLET Date: Sun, 3 Nov 2024 22:29:59 +0100 Subject: [PATCH] feat: add doc for download_dir --- src/freebox_api/api/download.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freebox_api/api/download.py b/src/freebox_api/api/download.py index dda4e564..74015532 100644 --- a/src/freebox_api/api/download.py +++ b/src/freebox_api/api/download.py @@ -190,6 +190,8 @@ async def add_download_task_from_url( Add download from url download_url : `str` + download_dir : `str`, optional + Default to None """ download_params: DownloadAddURL = { "download_url": download_url, @@ -205,6 +207,8 @@ async def add_download_task_from_urls( Add download from url download_urls : `list[str]` + download_dir : `str`, optional + Default to None """ download_params: DownloadAddURLList = { "download_url_list": "/n".join(download_urls), @@ -220,6 +224,8 @@ async def add_download_task_from_file( Add download from file download_file : `str` + download_dir : `str`, optional + Default to None """ download_params: DownloadAddFile = { "download_file": download_file,