Trashcan¶
-
class
tekdrive.models.
Trashcan
(tekdrive: TekDrive)¶ Provides various methods to help with managing items in the trashcan.
-
empty
() → None¶ Empty all items currently in the trash.
Examples
Empty the trashcan:
td.trash.empty()
-
get
(*, order_by: List[str] = ['-trashedAt'], limit: Optional[int] = 100)¶ Get items currently in the trash.
Examples
Get the first 10 items in the trashcan:
td.trash.get(limit=10)
-