You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The return type of download_folder is documented as:
filenames: list of str
List of files downloaded, or None if failed.
Ignoring that the stated type (list of str) and the documentation disagree, the documented type (list[str] | None) is not correct. The function can also return False via this code path.
Btw. the variable return_code isn't actually a return code, but a bool that describes whether gdrive_file is None.
Expected Behavior
Do what the docs say.
To Reproduce
No response
The text was updated successfully, but these errors were encountered:
Provide environment information
Python 3.8.2
gdown: main
What OS are you using?
Windows 10
Describe the Bug
The return type of
download_folder
is documented as:Ignoring that the stated type (
list of str
) and the documentation disagree, the documented type (list[str] | None
) is not correct. The function can also returnFalse
via this code path.Btw. the variable
return_code
isn't actually a return code, but a bool that describes whethergdrive_file
is None.Expected Behavior
Do what the docs say.
To Reproduce
No response
The text was updated successfully, but these errors were encountered: