- Add new feature:
Drive.Permissions.pending_owner(file_id, accept=True)
.
- Support withdrawn pendingOwner when use
drive.Permissions.update()
withrole=Roles.EDITOR
- Use
from colorama import just_fix_windows_console
to fix color in Windows CMD.
- Improve drive.Files.list(): Force
mimeType
infields
ifdeep_folder=False
, print look better.
- Improve code in Drive.Permissions.
- Drive.Files: Support list files in deep folders with param
deep_folder
.
- Drive.Permissions: Support transfer ownership with gmail.com.
- Drive.Permissions: Fix wrong detect args (email, domain, anyone, ...).
- Drive.Permissions: Add anyone argument to functions.
- get
- get_storage_quota
- create
- create_shortcut
- upload
- get
- move
- copy
- rename
- restrict
- list
- download
- export
- empty_trash
- trash
- delete
- add
- transfer_ownership
- get
- update
- list
- remove
- create
- get
- update
- list
- delete
- create
- get
- update
- list
- delete
- get
- list
- delete
- Add
SearchTerms
class
- Improve micro things
Drive().remove_permission
make sure email is lower case.- Clean code.
- Human readable log for
get_storage_quota
Drive functions:
- create
- delete
- move
- upload
- get_file_info
- copy
- rename
- list_files
- get_storage_quota
- list_permissions
- add_permission
- remove_permission
- transfer_ownership
Auth functions:
- from_service_account_info
- from_service_account_file
- local_web_server
constants:
- Roles
- MimeTypes