question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Replacement for `updated` last modified attribute?

See original GitHub issue

As far as I can tell worksheet.updated is depreciated, which makes sense because I think I saw that the API has changed in terms of getting modified date.

I had found this old approach to checking if a sheet had been modified, but when I run on my sheet, worksheet.updated is always empty.

>>> chairs = client.open_by_url(url)
>>> sheet = chairs.get_worksheet(0)
>>> sheet.updated
>>>

Is there a new approach?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:11
  • Comments:7

github_iconTop GitHub Comments

3reactions
lavigne958commented, Jul 21, 2021

closed by #872

one can now get the last modification time of a SpreadSheet using: sps.lastUpdateTime

0reactions
TobKedcommented, Aug 10, 2019

You can try to retrieve modifiedTime by Google Drive API with PyDrive package

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Change the Last Modified Date, Creation Date, and ...
You can use the Set-ItemProperty command to change file attributes such as read-only access. To do this, type Set-ItemProperty -Path file -Name ...
Read more >
Last-modified attribute - apnic
The last-modified attribute replaces the changed attribute in all objects. It is a time stamp that is generated by the system to reflect...
Read more >
Change Created, Modified and Last Accessed Date Attributes ...
Now copy and rename the folder or open the file, go to the file menu and select “Save as” option to save the...
Read more >
How to Edit file without changing Modified Date in Windows 11
Download the Attribute Changer tool from the official website and install it on your PC. Now right-click the file you want to edit...
Read more >
How to Change a File's Last Modified and Creation Dates on ...
Make sure to change 200801120000 to the date you want and to replace /Volumes/Mac\ ... How to batch update the “date modified” attribute...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found