From 2fe907e5ddd89b066790bee44def05d75c3d3eaf Mon Sep 17 00:00:00 2001 From: Eric Gustin <34000337+EricGustin@users.noreply.github.com> Date: Wed, 12 Mar 2025 13:25:50 -0800 Subject: [PATCH] Release Google Toolkit version 1.0.0 (#280) Updates to the Google Toolkit: https://github.com/ArcadeAI/arcade-ai/pull/264 (google patch) https://github.com/ArcadeAI/arcade-ai/pull/188 (google minor) https://github.com/ArcadeAI/arcade-ai/pull/272 (google major) https://github.com/ArcadeAI/arcade-ai/pull/269 (google minor) https://github.com/ArcadeAI/arcade-ai/pull/265 (google major) --- toolkits/google/arcade_google/tools/docs.py | 8 ++++---- toolkits/google/arcade_google/tools/drive.py | 2 +- toolkits/google/pyproject.toml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/toolkits/google/arcade_google/tools/docs.py b/toolkits/google/arcade_google/tools/docs.py index a1596616..c46a0535 100644 --- a/toolkits/google/arcade_google/tools/docs.py +++ b/toolkits/google/arcade_google/tools/docs.py @@ -12,7 +12,7 @@ from arcade_google.utils import build_docs_service @tool( requires_auth=Google( scopes=[ - "https://www.googleapis.com/auth/documents.readonly", + "https://www.googleapis.com/auth/drive.file", ], ) ) @@ -39,7 +39,7 @@ async def get_document_by_id( @tool( requires_auth=Google( scopes=[ - "https://www.googleapis.com/auth/documents", + "https://www.googleapis.com/auth/drive.file", ], ) ) @@ -85,7 +85,7 @@ async def insert_text_at_end_of_document( @tool( requires_auth=Google( scopes=[ - "https://www.googleapis.com/auth/documents", + "https://www.googleapis.com/auth/drive.file", ], ) ) @@ -118,7 +118,7 @@ async def create_blank_document( @tool( requires_auth=Google( scopes=[ - "https://www.googleapis.com/auth/documents", + "https://www.googleapis.com/auth/drive.file", ], ) ) diff --git a/toolkits/google/arcade_google/tools/drive.py b/toolkits/google/arcade_google/tools/drive.py index c7e88b7a..7f4e1d25 100644 --- a/toolkits/google/arcade_google/tools/drive.py +++ b/toolkits/google/arcade_google/tools/drive.py @@ -205,7 +205,7 @@ async def search_documents( @tool( requires_auth=Google( - scopes=["https://www.googleapis.com/auth/drive.readonly"], + scopes=["https://www.googleapis.com/auth/drive.file"], ) ) async def search_and_retrieve_documents( diff --git a/toolkits/google/pyproject.toml b/toolkits/google/pyproject.toml index 000919bb..f24e61b8 100644 --- a/toolkits/google/pyproject.toml +++ b/toolkits/google/pyproject.toml @@ -1,12 +1,12 @@ [tool.poetry] name = "arcade_google" -version = "0.3.0" +version = "1.0.0" description = "Arcade tools for the entire google suite" authors = ["Arcade "] [tool.poetry.dependencies] python = "^3.10" -arcade-ai = ">=0.1,<2.0" +arcade-ai = ">=1.0.5,<2.0" google-api-core = "2.19.1" google-api-python-client = "2.137.0" google-auth = "2.32.0"