arcade-google-docs 5.0.0__py3-none-any.whl → 5.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- arcade_google_docs/tools/file_picker.py +2 -1
- arcade_google_docs/utils.py +2 -2
- arcade_google_docs/who_am_i_util.py +1 -1
- {arcade_google_docs-5.0.0.dist-info → arcade_google_docs-5.0.2.dist-info}/METADATA +1 -1
- {arcade_google_docs-5.0.0.dist-info → arcade_google_docs-5.0.2.dist-info}/RECORD +6 -6
- {arcade_google_docs-5.0.0.dist-info → arcade_google_docs-5.0.2.dist-info}/WHEEL +1 -1
|
@@ -52,6 +52,7 @@ def generate_google_file_picker_url(
|
|
|
52
52
|
"url": url,
|
|
53
53
|
"llm_instructions": (
|
|
54
54
|
"Instruct the user to click the following link to open the Google Drive File Picker. "
|
|
55
|
-
"This will allow them to select files and grant access permissions
|
|
55
|
+
"This will allow them to select files and grant access permissions:\n\n"
|
|
56
|
+
f"[Open Google Drive File Picker]({url})"
|
|
56
57
|
),
|
|
57
58
|
}
|
arcade_google_docs/utils.py
CHANGED
|
@@ -24,7 +24,7 @@ def build_docs_service(auth_token: str | None) -> Resource: # type: ignore[no-a
|
|
|
24
24
|
Build a Drive service object.
|
|
25
25
|
"""
|
|
26
26
|
auth_token = auth_token or ""
|
|
27
|
-
return build("docs", "v1", credentials=Credentials(auth_token))
|
|
27
|
+
return build("docs", "v1", credentials=Credentials(auth_token), cache_discovery=False)
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def build_drive_service(auth_token: str | None) -> Resource: # type: ignore[no-any-unimported]
|
|
@@ -32,7 +32,7 @@ def build_drive_service(auth_token: str | None) -> Resource: # type: ignore[no-
|
|
|
32
32
|
Build a Drive service object.
|
|
33
33
|
"""
|
|
34
34
|
auth_token = auth_token or ""
|
|
35
|
-
return build("drive", "v3", credentials=Credentials(auth_token))
|
|
35
|
+
return build("drive", "v3", credentials=Credentials(auth_token), cache_discovery=False)
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
def build_files_list_params(
|
|
@@ -74,7 +74,7 @@ def _extract_google_docs_info(docs_service: Any) -> dict[str, Any]:
|
|
|
74
74
|
|
|
75
75
|
def _build_people_service(credentials: Credentials) -> Any:
|
|
76
76
|
"""Build and return the People API service client."""
|
|
77
|
-
return build("people", "v1", credentials=credentials)
|
|
77
|
+
return build("people", "v1", credentials=credentials, cache_discovery=False)
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
def _get_people_api_data(people_service: Any) -> dict[str, Any]:
|
|
@@ -4,8 +4,8 @@ arcade_google_docs/doc_to_markdown.py,sha256=Hq651d2nk48rO7piGncSPZx4KFEGVu-mBQ6
|
|
|
4
4
|
arcade_google_docs/docmd.py,sha256=Dw8ZAgR_9Df9nKoJSvmslU4fbUtCuteW5bfmyXytwnU,23324
|
|
5
5
|
arcade_google_docs/enum.py,sha256=kuXlsHcMYbN28Qg-Dwp4viz-CZ8z85_WVjQVZj2EsEY,3441
|
|
6
6
|
arcade_google_docs/templates.py,sha256=pxbdMj57eV3-ImW3CixDWscpVKS94Z8nTNyTxDhUfGY,283
|
|
7
|
-
arcade_google_docs/utils.py,sha256=
|
|
8
|
-
arcade_google_docs/who_am_i_util.py,sha256=
|
|
7
|
+
arcade_google_docs/utils.py,sha256=lANqXh6rvKjGBcqFbs-_0cQsA80oHywey4ZKUBXQYYQ,12527
|
|
8
|
+
arcade_google_docs/who_am_i_util.py,sha256=Atg64UcY3wrwKi71k9e33Stm70_xeCriwisTISb-GDk,2948
|
|
9
9
|
arcade_google_docs/models/document.py,sha256=0RvZ2_dfpz6ZoF1aUucYWOkRYWy_K_hiChSzoQtwhTc,30419
|
|
10
10
|
arcade_google_docs/models/document_writables.py,sha256=DMBT5A05y7o7_PYlBB6O3KThma6-pm6hd5nxKGydT5Q,27575
|
|
11
11
|
arcade_google_docs/models/requests.py,sha256=8Cga7QECmQWNFhM2QiGudvnQcgA_THi7ThNsUb7uavg,52176
|
|
@@ -13,7 +13,7 @@ arcade_google_docs/models/responses.py,sha256=82douA0aEvc90FzeYqnxzCB0MkhxqvrzBl
|
|
|
13
13
|
arcade_google_docs/tools/__init__.py,sha256=JqdaeKJqlFI4cXWEOg960uQCeiIksdD0EDEEOcVu3_0,1025
|
|
14
14
|
arcade_google_docs/tools/comment.py,sha256=Qm5NHdNHONs3j4gqbZ7Fw9NrTVBb_mZ-th1X-z2IoLM,2836
|
|
15
15
|
arcade_google_docs/tools/create.py,sha256=AuYy8yMGscrxAdLJQX0WiisGHCTufSlaRu_QGMMKQmM,2764
|
|
16
|
-
arcade_google_docs/tools/file_picker.py,sha256=
|
|
16
|
+
arcade_google_docs/tools/file_picker.py,sha256=XVFDZq34LGPjXbZWengPaZzNlQAfBj84Ui8_8YHfTdo,2394
|
|
17
17
|
arcade_google_docs/tools/get.py,sha256=VQpFxnposGMGS1ulw_3EurIsX3LLi8P3Qxz0X4a0vA0,4297
|
|
18
18
|
arcade_google_docs/tools/search.py,sha256=H_u_zJhUIAwWAkn_iGqbjcnh8z5lWyGK480Y5RpsM1U,8286
|
|
19
19
|
arcade_google_docs/tools/system_context.py,sha256=19HPSpNkLsb-MDWc-9CFgK_ha-rRzwaJr7hV6Us_1LI,1130
|
|
@@ -26,6 +26,6 @@ arcade_google_docs/tools/edit_agent/prompts.py,sha256=M_f-HsPJppd3FQPhRAw7pKpaAr
|
|
|
26
26
|
arcade_google_docs/tools/edit_agent/request_generator.py,sha256=eVDmzJDsOmJ-S8yANmJATt_G51rgCcCga6ArX4DTShM,5399
|
|
27
27
|
arcade_google_docs/tools/edit_agent/utils.py,sha256=uAxhI43KALjDiD6yxlb8sLoPAV-oHKrF5jk2lgITPv0,680
|
|
28
28
|
arcade_google_docs/tools/edit_agent/models/planning.py,sha256=RWQFB_KHl3Pq-snv1rHzoRxVvTnHVLZEGRpdohSX7wc,2962
|
|
29
|
-
arcade_google_docs-5.0.
|
|
30
|
-
arcade_google_docs-5.0.
|
|
31
|
-
arcade_google_docs-5.0.
|
|
29
|
+
arcade_google_docs-5.0.2.dist-info/METADATA,sha256=uOE8kKiHHJql27bDHW7ObhqsarBmJ3_efEWEXfYGvkI,1128
|
|
30
|
+
arcade_google_docs-5.0.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
31
|
+
arcade_google_docs-5.0.2.dist-info/RECORD,,
|