remove alldrives from comments
This commit is contained in:
@@ -137,8 +137,7 @@ async def _read_comments_impl(service, app_name: str, file_id: str) -> str:
|
|||||||
response = await asyncio.to_thread(
|
response = await asyncio.to_thread(
|
||||||
service.comments().list(
|
service.comments().list(
|
||||||
fileId=file_id,
|
fileId=file_id,
|
||||||
fields="comments(id,content,author,createdTime,modifiedTime,resolved,replies(content,author,id,createdTime,modifiedTime))",
|
fields="comments(id,content,author,createdTime,modifiedTime,resolved,replies(content,author,id,createdTime,modifiedTime))"
|
||||||
supportsAllDrives=True
|
|
||||||
).execute
|
).execute
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -191,8 +190,7 @@ async def _create_comment_impl(service, app_name: str, file_id: str, comment_con
|
|||||||
service.comments().create(
|
service.comments().create(
|
||||||
fileId=file_id,
|
fileId=file_id,
|
||||||
body=body,
|
body=body,
|
||||||
fields="id,content,author,createdTime,modifiedTime",
|
fields="id,content,author,createdTime,modifiedTime"
|
||||||
supportsAllDrives=True
|
|
||||||
).execute
|
).execute
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -214,8 +212,7 @@ async def _reply_to_comment_impl(service, app_name: str, file_id: str, comment_i
|
|||||||
fileId=file_id,
|
fileId=file_id,
|
||||||
commentId=comment_id,
|
commentId=comment_id,
|
||||||
body=body,
|
body=body,
|
||||||
fields="id,content,author,createdTime,modifiedTime",
|
fields="id,content,author,createdTime,modifiedTime"
|
||||||
supportsAllDrives=True
|
|
||||||
).execute
|
).execute
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -240,8 +237,7 @@ async def _resolve_comment_impl(service, app_name: str, file_id: str, comment_id
|
|||||||
fileId=file_id,
|
fileId=file_id,
|
||||||
commentId=comment_id,
|
commentId=comment_id,
|
||||||
body=body,
|
body=body,
|
||||||
fields="id,content,author,createdTime,modifiedTime",
|
fields="id,content,author,createdTime,modifiedTime"
|
||||||
supportsAllDrives=True
|
|
||||||
).execute
|
).execute
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user