Skip to content

Commit

Permalink
feat: add doc for download_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentame committed Nov 3, 2024
1 parent 5b8b69c commit dbd6afe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/freebox_api/api/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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),
Expand All @@ -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,
Expand Down

0 comments on commit dbd6afe

Please sign in to comment.