Update scope on Google.ListDocuments (#264)
Updating the scope on this unreleased tool to be more granular.
This commit is contained in:
parent
668e92934e
commit
62173da343
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ from .models import Corpora, OrderBy
|
|||
# string as input with the syntax defined here: https://developers.google.com/drive/api/guides/search-files
|
||||
@tool(
|
||||
requires_auth=Google(
|
||||
scopes=["https://www.googleapis.com/auth/drive.readonly"],
|
||||
scopes=["https://www.googleapis.com/auth/drive.file"],
|
||||
)
|
||||
)
|
||||
async def list_documents(
|
||||
|
|
|
|||
Loading…
Reference in a new issue