Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Update GoogleDriveFile to use V3 shared drive query parameters #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions pydrive/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ def _GetList(self):

:returns: list -- list of pydrive.files.GoogleDriveFile.
"""
# Teamdrive support
self['corpus'] = 'DEFAULT'
self['supportsTeamDrives'] = True
self['includeTeamDriveItems'] = True
# SharedDrive support (aka TeamDrive)
self['includeItemsFromAllDrives'] = True
self['supportsAllDrives'] = True

self.metadata = self.auth.service.files().list(**dict(self)).execute(
http=self.http)
Expand Down