def GetTimeline(self) -> Sequence[vfs_pb2.ApiVfsTimelineItem]: args = vfs_pb2.ApiGetVfsTimelineArgs( client_id=self.client_id, file_path=self.path) result = self._context.SendRequest("GetVfsTimeline", args) if not isinstance(result, vfs_pb2.ApiGetVfsTimelineResult): raise TypeError(f"Unexpected result type: {type(result)}") return result.items
def GetTimeline(self): args = vfs_pb2.ApiGetVfsTimelineArgs(client_id=self.client_id, file_path=self.path) return self._context.SendRequest("GetVfsTimeline", args).items