Open BenCurtisD opened 1 year ago
Update: I identified the source of the issue, def get_update_time(self, file_id): """Returns the time this file was last modified in RFC 3339 format.""" return self._execute_request(self.service.files().get(fileId=file_id, fields='modifiedTime', supportsAllDrives=self.is_team_drive()))['modifiedTime']
self.is_team_drive() was returning False in my case, so for my version I simply replaced it with True, not entirely sure why it doesn't work but it doesn't.
bigger problem, after fixing the unlink, the link() function simply returns a httpError 500 even when nothing is changed. destination.unlink() destination.link()
Traceback (most recent call last):
File "D:\Documents\Github\SBFO-Kanoptima-Software\tester.py", line 10, in
Note, if this is a usage question, please ask a question in stackoverflow with
pygsheets
tag.Describe the bug When trying to unlink a sheet in a shared drive the actual api call doesn't include the header to allow for this and the file isn't found
To Reproduce Steps to reproduce the behavior:
System Information