Exemple #1
0
 def trash_media_files(self, fnames: List[str]) -> None:
     self._run_command(
         pb.BackendInput(trash_media_files=pb.TrashMediaFilesIn(
             fnames=fnames)))
Exemple #2
0
 def trash_media_files(self, fnames: Sequence[str]) -> pb.Empty:
     input = pb.TrashMediaFilesIn(fnames=fnames)
     output = pb.Empty()
     output.ParseFromString(self._run_command(16, input))
     return output