Drive module error: drive.api.files.delete_expired_docshares

After I add the Drive module to Frappe/ERPNext, I get following error msgs whenever I install more apps.

  • drive.api.files.delete_expired_docshares is not a valid method: module ‘drive.api.files’ has no attribute ‘delete_expired_docshares’

Guess one of the files tries to reference an outdated file, or I probably have missed something.

Guess one of the files tries to reference an outdated file, or I probably have missed something.

Valid error you didn’t miss anything. Fixed. Should be on main branch by EOD.

1 Like

There is no function called auto_delete_expired_docshares in drive/api/files.py in both develop and main branches

@kevingee yup. I came here to say the same thing.

Yeah, it’s in permissions.py fix: updated incorrect method name · frappe/drive@b54d605 · GitHub