Skip to content

Commit

Permalink
Merge pull request #785 from TomPughe/master
Browse files Browse the repository at this point in the history
Update DriveItem permanent_delete comment to reference inherited non permanent delete
  • Loading branch information
vgrem authored Nov 14, 2023
2 parents d4021b0 + c6ab21e commit cfd4323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion office365/onedrive/driveitems/driveItem.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def permanent_delete(self):
"""
Permanently delete a driveItem.
Note that if you delete items using this method, they will be permanently removed and won't be sent to the
recycle bin. Therefore, they cannot be restored afterward.
recycle bin. Therefore, they cannot be restored afterward. For non-permanent delete, use delete_object()
"""
qry = ServiceOperationQuery(self, "permanentDelete")
self.context.add_query(qry)
Expand Down

0 comments on commit cfd4323

Please sign in to comment.