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)
This commit is contained in:
parent
9da87b1f22
commit
2fe907e5dd
3 changed files with 7 additions and 7 deletions
|
|
@ -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",
|
||||
],
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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 <dev@arcade.dev>"]
|
||||
|
||||
[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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue